org.codehaus.jparsec.examples.java.ast.statement
Class AssertStatement

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.statement.AssertStatement
All Implemented Interfaces:
Statement

public final class AssertStatement
extends ValueObject
implements Statement

Represents an "assert" statement.

Author:
Ben Yu

Field Summary
 Expression condition
           
 Expression message
           
 
Constructor Summary
AssertStatement(Expression condition, Expression message)
           
 
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

condition

public final Expression condition

message

public final Expression message
Constructor Detail

AssertStatement

public AssertStatement(Expression condition,
                       Expression message)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.