validatePrevious method

  1. @override
bool validatePrevious(
  1. ComputeContext ctx,
  2. String rawBuildingToken,
  3. Token<TokenType>? previousToken
)
override

Signals the caller if the token type is compatible with the previous token.

Implementation

@override
bool validatePrevious(ComputeContext ctx, String rawBuildingToken,
        Token<TokenType>? previousToken) =>
    throw UnimplementedError();