Top Description Fields Constructors Methods
com.jogamp.gluegen.cgram

public Class TNodeFactory

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

This class extends ASTFactory to build instances of class TNode

Field Summary

Inherited from antlr.ASTFactory:
theASTNodeTypetheASTNodeTypeClasstokenTypeToASTClassMap

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AST
create()

Overrides antlr.ASTFactory.create.

Create a new ampty AST node
public AST
create(final int ttype, final String text)

Overrides antlr.ASTFactory.create.

Create a new AST node from type and text
public AST
create(final AST ast)

Overrides antlr.ASTFactory.create.

Create a new AST node from an existing AST node
Inherited from antlr.ASTFactory:
addASTChildcreatecreatecreatecreatecreatecreatecreateUsingCtordupdupListdupTreeerrorgetASTNodeTypegetTokenTypeToASTClassMapmakemakemakeASTRootsetASTNodeClasssetASTNodeClasssetASTNodeTypesetTokenTypeASTNodeTypesetTokenTypeToASTClassMap

Constructor Detail

TNodeFactoryback to summary
public TNodeFactory()

Method Detail

createback to summary
public AST create()

Overrides antlr.ASTFactory.create.

Create a new ampty AST node

Annotations
@Override
createback to summary
public AST create(final int ttype, final String text)

Overrides antlr.ASTFactory.create.

Create a new AST node from type and text

Annotations
@Override
createback to summary
public AST create(final AST ast)

Overrides antlr.ASTFactory.create.

Create a new AST node from an existing AST node

Annotations
@Override