Top Description Fields Constructors Methods
javassist.compiler.ast

public Class BinExpr

extends Expr
Class Inheritance
Imports
javassist.compiler.CompileError

Binary expression.

If the operator is +, the right node might be null. See TypeChecker.atBinExpr().

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from javassist.compiler.ast.Expr:
operatorId

Constructor Summary

AccessConstructor and Description
private
BinExpr(int op, ASTree _head, ASTList _tail)

Method Summary

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

Overrides javassist.compiler.ast.Expr.accept.

Is a method for the visitor pattern.

public static BinExpr
makeBin(int op, ASTree oprand1, ASTree oprand2)

Inherited from javassist.compiler.ast.Expr:
getNamegetOperatorgetTagmakemakeoprand1oprand2setOperatorsetOprand1setOprand2

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.Expr.serialVersionUID.

default serialVersionUID

Constructor Detail

BinExprback to summary
private BinExpr(int op, ASTree _head, ASTList _tail)

Method Detail

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

Overrides javassist.compiler.ast.Expr.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
makeBinback to summary
public static BinExpr makeBin(int op, ASTree oprand1, ASTree oprand2)