SimpleBanListValidator class abstract

Inheritance
Implementers

Constructors

SimpleBanListValidator({required List<TokenType> bannedLeadingTokenTypes, bool bannedLeadingSelf = false, required List<TokenType> bannedTrailingTokenTypes, bool bannedTrailingSelf = false})
const

Properties

bannedLeadingSelf bool
final
bannedLeadingTokenTypes List<TokenType>
final
bannedTrailingSelf bool
final
bannedTrailingTokenTypes List<TokenType>
final
hashCode int
The hash code for this object.
no setterinherited
isMultiChar bool
no setterinherited
leadingCanBeNull bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trailingCanBeNull bool
no setter

Methods

additionalFactor(ComputeContext ctx, String rawBuildingToken) bool
createToken(ComputeContext ctx, String rawValue, int globalOffset) Token<TokenType>
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
inherited
validateNext(ComputeContext ctx, String rawBuildingToken, Token<TokenType>? nextToken) bool
override
validateNextType(ComputeContext ctx, String rawBuildingToken, TokenType? nextTokenType) bool
override
validatePrevious(ComputeContext ctx, String rawBuildingToken, Token<TokenType>? previousToken) bool
override
validatePreviousType(ComputeContext ctx, String rawBuildingToken, TokenType? previousTokenType) bool
override
validateType(ComputeContext ctx, TokenType? previousTokenType, String rawBuildingToken, TokenType? nextTokenType) bool
inherited

Operators

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