Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ASTFactory.registerFactory Method

NOTE: This method is now obsolete.

Replaced by setTokenTypeASTNodeType(int, string) since version 2.7.2.6


Register an AST Node Type for a given Token type ID.

[Visual Basic]
<Obsolete(Message:="Replaced by setTokenTypeASTNodeType(int, string) since version 2.7.2.6", IsError:=True)> _
Public Sub registerFactory( _
   ByVal NodeType As Integer, _
   ByVal NodeTypeName As String _
)
[C#]
[Obsolete(Message="Replaced by setTokenTypeASTNodeType(int, string) since version 2.7.2.6", IsError=True)]
public void registerFactory(
   int NodeType,
   string NodeTypeName
);

Parameters

NodeType
The Token type ID.
NodeTypeName
The AST Node Type to register.

See Also

ASTFactory Class | Spring.Expressions.Parser.antlr Namespace