TypeScriptLexer class

Inheritance

Constructors

TypeScriptLexer()

Properties

aliases List<String>
final
aliasFilenames List<String>
no setterinherited
config Map<String, dynamic>?
getter/setter pairinherited
configDebuggable bool
no setterinherited
configDebugPrintThrowError bool
no setterinherited
configEnumStrict bool
no setterinherited
configEventDispatcher RawEventDispatcher?
no setterinherited
configGroupCountStrictCheck bool
no setterinherited
configListTokenStateNames List?
no setterinherited
configMatchLengthStrictCheck bool
no setterinherited
configSaveRuntimeContext bool
no setterinherited
debuggable bool
finalinherited
encoding String
finalinherited
ensurenl bool
finalinherited
filenames List<String>
final
flags RegExpFlags
final
hashCode int
The hash code for this object.
no setterinherited
mimetypes List<String>
final
name String?
final
parses Map<String, List<Parse>>
no setteroverride
priority int
no setterinherited
root String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stripall bool
finalinherited
stripnl bool
finalinherited
supportEventDispatching bool
no setterinherited
tabsize int
finalinherited
useCache bool
no setterinherited

Methods

autoCompleting(String errorText, String stateName) List<String>
Match wid to width errorText will be match
inherited
commonparses(Map<String, List<Parse>>? currentCommon) Map<String, List<Parse>>
You don't have to merge like this return { ...currentCommon, your Def: bla bla bla} just give your own lib common parse rules => { your Def: bla bla bla } currentCommon is for you to check what have been loaded if Needed.
override
configPrint() → void
inherited
expandList(List<Parse> parses, Map<String, List<Parse>> parsesMap, {List<String>? replaceNewState}) Iterable<Parse>
inherited
getTokensUnprocessed(String text, [List<String>? stack, Position? pos, Map<String, List<Parse>>? commondefs]) Iterable<UnprocessedToken>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pretty(String text, [List<String>? stack, Position? pos, Map<String, List<Parse>>? commondefs]) String
inherited
printThrow(String text) → void
inherited
processedString({Iterable<UnprocessedToken>? unprocessedTokens, String? text}) String
inherited
splitAutoCompleting(List<String> splitText, String stateName, {int matchMode = 3}) List<String>
inherited
splitAutoCompletingMatches(List<String> splitText, String stateName, {int matchMode = 3}) List<List<RegExpMatch>>
Match wd10 to width_10 matchMode: 1 // all rules match at least one splitText 2 // fast match one and don't match other splitTexts 3 // strict mode, all splitTexts must have match.
inherited
toString() String
A string representation of this object.
inherited

Operators

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