org.codehaus.jparsec.examples.java.ast.expression
Class InstanceOfExpression

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.expression.InstanceOfExpression
All Implemented Interfaces:
Expression

public final class InstanceOfExpression
extends ValueObject
implements Expression

Represents "expr instanceof type".

Author:
Ben Yu

Field Summary
 Expression expression
           
 TypeLiteral typeLiteral
           
 
Constructor Summary
InstanceOfExpression(Expression expression, TypeLiteral typeLiteral)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

expression

public final Expression expression

typeLiteral

public final TypeLiteral typeLiteral
Constructor Detail

InstanceOfExpression

public InstanceOfExpression(Expression expression,
                            TypeLiteral typeLiteral)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.