Click or drag to resize

RewriteRuleElementStreamDup Method

When constructing trees, sometimes we need to dup a token or AST subtree. Dup'ing a token means just creating another AST node around it. For trees, you must call the adaptor.dupTree() unless the element is for a tree root; then it must be a node dup.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
protected abstract Object Dup(
	Object el
)

Parameters

el
Type: SystemObject

[Missing <param name="el"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.RewriteRuleElementStream.Dup(System.Object)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.RewriteRuleElementStream.Dup(System.Object)"]

See Also