validatePrevious abstract method

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

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

Implementation

bool validatePrevious(
    ComputeContext ctx, String rawBuildingToken, Token? previousToken);