public class ASTAppender extends Object
| Constructor and Description |
|---|
ASTAppender(antlr.ASTFactory factory,
antlr.collections.AST parent)
Builds an appender using the given factory and parent
|
| Modifier and Type | Method and Description |
|---|---|
antlr.collections.AST |
append(antlr.collections.AST child)
Append the given AST node as a child of parent.
|
antlr.collections.AST |
append(int type,
String text,
boolean appendIfEmpty)
Append a new child to parent using the given node type and text, but only if the
text is non-empty
|
public ASTAppender(antlr.ASTFactory factory,
antlr.collections.AST parent)
factory - The AST factoryparent - The AST parentpublic antlr.collections.AST append(int type,
String text,
boolean appendIfEmpty)
type - The node typetext - The node textappendIfEmpty - Should we do the append if the text is empty?nullpublic antlr.collections.AST append(antlr.collections.AST child)
child - The child to appendCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.