Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ASTNodeCreator Class

A creator of AST node instances.

For a list of all members of this type, see ASTNodeCreator Members .

System.Object
   ASTNodeCreator
      CommonAST.CommonASTCreator
      CommonASTWithHiddenTokens.CommonASTWithHiddenTokensCreator

[Visual Basic]
Public MustInherit Class ASTNodeCreator
[C#]
public abstract class ASTNodeCreator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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.

Requirements

Namespace: Spring.Expressions.Parser.antlr

Assembly: Spring.Core (in Spring.Core.dll)

See Also

ASTNodeCreator Members | Spring.Expressions.Parser.antlr Namespace