Serialized Form
-
Package com.orbit.api
-
Class com.orbit.api.Pattern
class Pattern extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialization Methods
-
readResolve
Resolves a deserializedPatterninstance by recompiling from the storedpatternstring andflagsset.Java object deserialization restores only the non-transient fields
patternandflagsviadefaultReadObject. This method discards the partially-constructed instance and returns a fully-constructedPatternobtained through the normalPattern.compile(java.lang.String)factory, which populates the transientcompileResultandonePassSafefields correctly.- Throws:
ObjectStreamException- never thrown in normal operation
-
-
Serialized Fields
-
flags
EnumSet<PatternFlag> flags
The compilation flags; serialized. -
pattern
String pattern
The original regular expression string; serialized.
-
-
Class com.orbit.api.Transducer
class Transducer extends Object implements Serializable-
Serialized Fields
-
composedFirst
Transducer composedFirst
When non-null, this transducer is a composed one-shot chain.Transducer.applyUp(java.lang.String)delegates tocomposedFirst.applyUpthencomposedSecond.applyUp. All structural operations (Transducer.invert(),Transducer.applyDown(java.lang.String)) are forbidden on composed transducers. -
composedSecond
Transducer composedSecond
The second transducer in a composed chain. Non-null whenTransducer.composedFirstis non-null. -
flags
TransducerFlag[] flags
Defensive copy of the compilation flags. Never null. -
graphEligible
boolean graphEligible
True if the output side is literal-only AND the Prog contains no anchor or lookaround instructions. When true, structural compose and invert use the TransducerGraph path. -
originalPair
Pair originalPair
The originalPairAST node, retained forTransducer.invert(). Non-null if and only if the transducer was compiled from an expression containing a:separator. Null for identity transducers and composed transducers. -
prog
Prog prog
The compiled NFA program. May be null only for composed transducers that do not use the NFA engine (they delegate to component transducers). Never null for directly compiled transducers.
-
-
-
Exception Class com.orbit.api.Transducer.NonInvertibleTransducerException
class NonInvertibleTransducerException extends RuntimeException implements Serializable -
Exception Class com.orbit.api.Transducer.TransducerCompositionException
class TransducerCompositionException extends RuntimeException implements Serializable -
Exception Class com.orbit.api.Transducer.TransducerException
class TransducerException extends RuntimeException implements Serializable
-
-
Package com.orbit.engine
-
Exception Class com.orbit.engine.MatchTimeoutException
class MatchTimeoutException extends Exception implements Serializable-
Serialized Fields
-
budget
int budget
-
inputLength
int inputLength
-
patternString
String patternString
-
-
-
-
Package com.orbit.parse
-
Exception Class com.orbit.parse.PatternSyntaxException
class PatternSyntaxException extends RuntimeException implements Serializable-
Serialized Fields
-
index
int index
-
snippet
String snippet
-
-
-