Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ASTFactory.make Method

Make a tree from a list of nodes. The first element in the array is the root. If the root is null, then the tree is a simple list not a tree. Handles null children nodes correctly. For example, build(a, b, null, c) yields tree (a b c). build(null,a,b) yields tree (nil a b).

Overload List

Make a tree from a list of nodes. The first element in the array is the root. If the root is null, then the tree is a simple list not a tree. Handles null children nodes correctly. For example, build(a, b, null, c) yields tree (a b c). build(null,a,b) yields tree (nil a b).

public virtual AST make(params AST[])

Make a tree from a list of nodes, where the nodes are contained in an ASTArray object.

public virtual AST make(ASTArray)

See Also

ASTFactory Class | Spring.Expressions.Parser.antlr Namespace