Top Description Fields Constructors Methods
javassist.compiler.ast

public Class Stmnt

extends ASTList
implements TokenId
Class Inheritance
All Implemented Interfaces
javassist.compiler.TokenId
Imports
javassist.compiler.CompileError, .TokenId

Statement.

Field Summary

Modifier and TypeField and Description
protected int
private static final long

Constructor Summary

AccessConstructor and Description
public
Stmnt(int op, ASTree _head, ASTList _tail)

public
Stmnt(int op, ASTree _head)

public
Stmnt(int op)

Method Summary

Modifier and TypeMethod and Description
public void
accept(Visitor v)

Overrides javassist.compiler.ast.ASTList.accept.

Is a method for the visitor pattern.

public int
protected String
getTag()

Overrides javassist.compiler.ast.ASTree.getTag.

Returns the type of this node.

public static Stmnt
make(int op, ASTree oprand1, ASTree oprand2)

public static Stmnt
make(int op, ASTree op1, ASTree op2, ASTree op3)

Inherited from javassist.compiler.ast.ASTList:
appendconcatgetLeftgetRightheadlengthlengthmakesetHeadsetLeftsetRightsetTailsublistsubsttailtoString

Field Detail

operatorIdback to summary
protected int operatorId
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.ASTList.serialVersionUID.

default serialVersionUID

Constructor Detail

Stmntback to summary
public Stmnt(int op, ASTree _head, ASTList _tail)
Stmntback to summary
public Stmnt(int op, ASTree _head)
Stmntback to summary
public Stmnt(int op)

Method Detail

acceptback to summary
public void accept(Visitor v) throws CompileError

Overrides javassist.compiler.ast.ASTList.accept.

Doc from javassist.compiler.ast.ASTree.accept.

Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

Annotations
@Override
getOperatorback to summary
public int getOperator()
getTagback to summary
protected String getTag()

Overrides javassist.compiler.ast.ASTree.getTag.

Doc from javassist.compiler.ast.ASTree.getTag.

Returns the type of this node. This method is used by toString().

Annotations
@Override
makeback to summary
public static Stmnt make(int op, ASTree oprand1, ASTree oprand2)
makeback to summary
public static Stmnt make(int op, ASTree op1, ASTree op2, ASTree op3)