initialize method

void initialize(
  1. Grammar grammar
)

Implementation

void initialize(Grammar grammar) {
  final expressionInitializer = ExpressionInitializer();
  expressionInitializer.initialize(grammar);
  final optionalExpressionResolver = OptionalExpressionResolver();
  optionalExpressionResolver.resolve(grammar);
  final expressionStartCharactersResolver =
      ExpressionStartCharactersResolver();
  expressionStartCharactersResolver.resolve(grammar);
  final expressionStartTerminalsResolver = ExpressionStartTerminalsResolver();
  expressionStartTerminalsResolver.resolve(grammar);
}