Comma class

Token types for commas.

Inheritance

Constructors

Comma()
Creates the token type.
const

Properties

bannedLeadingSelf bool
Can the leading token be the same as this.
finalinherited
bannedLeadingTokenTypes List<TokenType>
A list containing all the banned token types before it.
finalinherited
bannedTrailingSelf bool
Can the trailing token be the same as this.
finalinherited
bannedTrailingTokenTypes List<TokenType>
A list containing all the banned token types after it.
finalinherited
canBeFinal bool
Can the token be the last one to be created.
finalinherited
charToMatchAgainst String
The character to match against.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isMultiChar bool
Can the token be composed of multiple characters.
finalinherited
leadingCanBeNull bool
Can the leading token be null.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trailingCanBeNull bool
Cab the trailing token be null.
no setterinherited

Methods

additionalFactor(ComputeContext ctx, String rawBuildingToken) bool
An external additional factor,
inherited
createToken(ComputeContext ctx, String rawValue, int globalOffset) Token<TokenType>
Creates the token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(ComputeContext ctx, Token<TokenType>? previousToken, String rawBuildingToken, Token<TokenType>? nextToken) bool
Signals the caller if the token type is compatible with the next and previous tokens.
inherited
validateNext(ComputeContext ctx, String rawBuildingToken, Token<TokenType>? nextToken) bool
Signals the caller if the token type is compatible with the next token.
inherited
validateNextType(ComputeContext ctx, String rawBuildingToken, TokenType? nextTokenType) bool
Signals the caller if the token type is compatible with the next type of token.
inherited
validatePrevious(ComputeContext ctx, String rawBuildingToken, Token<TokenType>? previousToken) bool
Signals the caller if the token type is compatible with the previous token.
inherited
validatePreviousType(ComputeContext ctx, String rawBuildingToken, TokenType? previousTokenType) bool
Signals the caller is the token type is compatible with the previous type of token.
inherited
validateType(ComputeContext ctx, TokenType? previousTokenType, String rawBuildingToken, TokenType? nextTokenType) bool
Signals the caller if the token type is compatible with the next and previous types of tokens.
inherited

Operators

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