| Modifier and Type | Field and Description |
|---|---|
| private ASTFactory | |
| private AST | |
| private AST |
| Access | Constructor and Description |
|---|---|
| public | ASTAppender(ASTFactory
The AST factory factory, AST The AST parent parent)Builds an appender using the given factory and parent |
| factory | back to summary |
|---|---|
| private ASTFactory factory | |
| last | back to summary |
|---|---|
| private AST last | |
| parent | back to summary |
|---|---|
| private AST parent | |
| ASTAppender | back to summary |
|---|---|
| public ASTAppender(ASTFactory factory, AST parent) Builds an appender using the given factory and parent
| |
| append | back to summary |
|---|---|
| public 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 | |
| append | back to summary |
|---|---|
| public AST append(AST child) Append the given AST node as a child of parent. | |