diff options
author | Kenneth Russel <[email protected]> | 2009-06-15 22:39:33 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-15 22:39:33 +0000 |
commit | 90bcb596e88898f807b39c9e7c85485ab8c006b6 (patch) | |
tree | cd8364c36dc0035fde6660808a803d28e69b3fbc /src/java/com/sun/gluegen/cgram/TNodeFactory.java | |
parent | 9e979e542165358b5c3684078e193f9c706f1eab (diff) |
Deleted obsolete source code in preparation for copying JOGL_2_SANDBOX
on to trunk
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@146 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/cgram/TNodeFactory.java')
-rw-r--r-- | src/java/com/sun/gluegen/cgram/TNodeFactory.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/java/com/sun/gluegen/cgram/TNodeFactory.java b/src/java/com/sun/gluegen/cgram/TNodeFactory.java deleted file mode 100644 index 4523632..0000000 --- a/src/java/com/sun/gluegen/cgram/TNodeFactory.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.sun.gluegen.cgram; - -import antlr.Token; -import antlr.ASTFactory; -import antlr.collections.AST; - -/** This class extends ASTFactory to build instances - of class TNode */ -public class TNodeFactory extends ASTFactory { - - /** Create a new ampty AST node */ - public AST create() { - return new TNode(); - } - - /** Create a new AST node from type and text */ - public AST create(int ttype, String text) { - AST ast = new TNode(); - ast.setType(ttype); - ast.setText(text); - return ast; - } - - /** Create a new AST node from an existing AST node */ - public AST create(AST ast) { - AST newast = new TNode(); - newast.setType(ast.getType()); - newast.setText(ast.getText()); - return newast; - } - - -} |