C# Class Spring.Expressions.Parser.antlr.ASTNodeCreator

A creator of AST node instances.

This class and it's sub-classes exists primarily as an optimization of the reflection-based mechanism(s) previously used exclusively to create instances of AST node objects.

Parsers and TreeParsers already use the ASTFactory class in ANTLR whenever they need to create an AST node objeect. What this class does is to support performant extensibility of the basic ASTFactory. The ASTFactory can now be extnded as run-time to support more new AST node types without using needing to use reflection.

Show file Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
Create ( ) : antlr.collections.AST

Constructs an AST instance.

Method Details

Create() public abstract method

Constructs an AST instance.
public abstract Create ( ) : antlr.collections.AST
return antlr.collections.AST