javassist.compiler.ast
Class Keyword

java.lang.Object
  extended by javassist.compiler.ast.ASTree
      extended by javassist.compiler.ast.Keyword
All Implemented Interfaces:
java.io.Serializable

public class Keyword
extends ASTree

Keyword.

See Also:
Serialized Form

Field Summary
protected  int tokenId
           
 
Constructor Summary
Keyword(int token)
           
 
Method Summary
 void accept(Visitor v)
          Is a method for the visitor pattern.
 int get()
           
 java.lang.String toString()
           
 
Methods inherited from class javassist.compiler.ast.ASTree
getLeft, getRight, getTag, setLeft, setRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tokenId

protected int tokenId
Constructor Detail

Keyword

public Keyword(int token)
Method Detail

get

public int get()

toString

public java.lang.String toString()
Overrides:
toString in class ASTree

accept

public void accept(Visitor v)
            throws CompileError
Description copied from class: ASTree
Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

Specified by:
accept in class ASTree
Throws:
CompileError


Copyright © 2011. All Rights Reserved.