validatePreviousType abstract method

bool validatePreviousType(
  1. ComputeContext ctx,
  2. String rawBuildingToken,
  3. TokenType? previousTokenType
)

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

Implementation

bool validatePreviousType(ComputeContext ctx, String rawBuildingToken,
    TokenType? previousTokenType);