Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ASTFactory Class

AST Support code shared by TreeParser and Parser.

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


[Visual Basic]
Public Class ASTFactory
public class ASTFactory

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.


We use delegation to share code (and have only one bit of code to maintain) rather than subclassing or superclassing (forces AST support code to be loaded even when you don't want to do AST stuff).

Typically, setASTNodeType is used to specify the homogeneous type of node to create, but you can override create to make heterogeneous nodes etc...


Namespace: Spring.Expressions.Parser.antlr

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

See Also

ASTFactory Members | Spring.Expressions.Parser.antlr Namespace