validateNextType abstract method

bool validateNextType(
  1. ComputeContext ctx,
  2. String rawBuildingToken,
  3. TokenType? nextTokenType
)

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

Implementation

bool validateNextType(
    ComputeContext ctx, String rawBuildingToken, TokenType? nextTokenType);