Click or drag to resize

TreeWizardCreate Method

Create a tree or node from the indicated tree pattern that closely follows ANTLR tree grammar tree element syntax: (root child1 ... child2).

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public virtual Object Create(
	string pattern
)

Parameters

pattern
Type: SystemString

[Missing <param name="pattern"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.TreeWizard.Create(System.String)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.TreeWizard.Create(System.String)"]

Remarks
You can also just pass in a node: ID Any node can have a text argument: ID[foo] (notice there are no quotes around foo--it's clear it's a string). nil is a special name meaning "give me a nil node". Useful for making lists: (nil A B C) is a list of A B C.
See Also