JParse class

Inheritance
Implementers

Constructors

JParse(String? pattern, DynamicToken dtoken, [dynamic newStates, List<List<String>>? constants])
JParse.bygroups(String pattern, List<DynamicToken> tokens, [List<String>? nextState])
factory
JParse.constants(List<List<String>> constants, DynamicToken dtoken, [List<String>? newStates])
factory
JParse.constantsdepartenum(List<List<String>> constants, List<DynamicToken> tokens, [List<String>? nextState])
factory
JParse.constingroups(String pattern, List<List<String>> constants, List<DynamicToken> tokens, [List<String>? nextState])
factory
JParse.empty(List<String> nextState)
factory
JParse.eventOnCondition(String conditionFlag, List<String> returnTrueCallBack)
factory
JParse.eventOnConditionInclude(String conditionFlag, Iterable<JParse> skippingRules)
factory
JParse.eventOnRuleMissed(String ruleMissedFlag)
factory
JParse.eventOnRuleWillStart(String ruleStartFlag)
factory
JParse.eventOnStateWillEnd()
factory
JParse.eventOnStateWillRestart()
factory
JParse.eventOnStateWillStart()
factory
JParse.include(String s, {List<String>? replaceAllNewStates, List<String>? addedNewStates})
replaceAllNewStates: 批量替换所有newStates 包括 Include
factory
JParse.lexer(Lexer lexer, {List<String>? doActionsWithoutState})
factory

Properties

constants List<List<String>>?
final
dtoken DynamicToken
final
groupTokens List<Token?>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isConst bool
no setter
newStates List<String>?
finalinherited
parent Parse?
no setterinherited
pattern String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token Token
no setteroverride

Methods

copy({List<String>? newStates}) JParse
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
split() List<String>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited