validateNext abstract method

bool validateNext(
  1. ComputeContext ctx,
  2. String rawBuildingToken,
  3. Token<TokenType>? nextToken
)

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

Implementation

bool validateNext(
    ComputeContext ctx, String rawBuildingToken, Token? nextToken);