Top Description Fields Constructors Methods
org.hibernate.hql.ast.util

public Class ASTAppender

extends Object
Class Inheritance
Imports
antlr.ASTFactory, antlr.collections.AST

Appends child nodes to a parent efficiently.
Author
Joshua Davis

Field Summary

Modifier and TypeField and Description
private ASTFactory
private AST
private AST

Constructor Summary

AccessConstructor and Description
public
ASTAppender(ASTFactory factory, AST parent)

public
ASTAppender(AST parent)

Method Summary

Modifier and TypeMethod and Description
public AST
append(int type, String text, boolean appendIfEmpty)

public AST
append(AST child)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoryback to summary
private ASTFactory factory
lastback to summary
private AST last
parentback to summary
private AST parent

Constructor Detail

ASTAppenderback to summary
public ASTAppender(ASTFactory factory, AST parent)
ASTAppenderback to summary
public ASTAppender(AST parent)

Method Detail

appendback to summary
public AST append(int type, String text, boolean appendIfEmpty)
appendback to summary
public AST append(AST child)