parseActionImpl method

  1. @override
AST parseActionImpl(
  1. String input,
  2. String location,
  3. List<CompileIdentifierMetadata> exports
)
override

Override to implement parseAction.

Basic validation is already performed that input is seemingly valid.

Implementation

@override
ast.AST parseActionImpl(
  String input,
  String location,
  List<CompileIdentifierMetadata> exports,
) {
  return parseExpression(
    input,
    location,
    allowAssignments: true,
    allowPipes: false,
    exports: exports,
  );
}