1package com.jogamp.gluegen.cgram;
3import antlr.ASTFactory;
4import antlr.collections.AST;
18 public AST
create(
final int ttype,
final String text) {
19 final AST ast =
new TNode();
28 final AST newast =
new TNode();
29 newast.setType(ast.getType());
30 newast.setText(ast.getText());
This class extends ASTFactory to build instances of class TNode.
AST create(final AST ast)
Create a new AST node from an existing AST node.
AST create()
Create a new ampty AST node.
AST create(final int ttype, final String text)
Create a new AST node from type and text.
Class TNode is an implementation of the AST interface and adds many useful features: