edu.ksu.cis.projects.bogor.ast.checker
Class ConstIntExpEvaluator.ConstIntExpEnforcer

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.ast.ASTVisitor
      extended by edu.ksu.cis.projects.bogor.ast.checker.ConstIntExpEvaluator.ConstIntExpEnforcer
Enclosing class:
ConstIntExpEvaluator

protected class ConstIntExpEvaluator.ConstIntExpEnforcer
extends ASTVisitor


Constructor Summary
protected ConstIntExpEvaluator.ConstIntExpEnforcer()
           
 
Method Summary
 boolean isExpConst(Exp exp)
           
protected  void visitApplyExp(ApplyExp node)
           
protected  void visitBinaryExp(BinaryExp node)
           
protected  void visitBooleanLiteral(BooleanLiteral node)
           
protected  void visitCastExp(CastExp node)
           
protected  void visitConditionalExp(ConditionalExp node)
           
protected  void visitDoubleLiteral(DoubleLiteral node)
           
protected  void visitExtExp(ExtExp node)
           
protected  void visitFieldAccessExp(FieldAccessExp node)
           
protected  void visitFloatLiteral(FloatLiteral node)
           
protected  void visitIdExp(IdExp node)
           
protected  void visitInstanceofExp(InstanceofExp node)
           
protected  void visitIntLiteral(IntLiteral node)
           
protected  void visitInvokeExp(InvokeExp node)
           
protected  void visitKindofExp(KindofExp node)
           
protected  void visitLetExp(LetExp node)
           
protected  void visitLiteralExp(LiteralExp node)
           
protected  void visitLockTestExp(LockTestExp node)
           
protected  void visitLongLiteral(LongLiteral node)
           
protected  void visitNewArrayExp(NewArrayExp node)
           
protected  void visitNewLockExp(NewLockExp node)
           
protected  void visitNewRecordExp(NewRecordExp node)
           
protected  void visitNullLiteral(NullLiteral node)
           
protected  void visitParenExp(ParenExp node)
           
protected  void visitStartThreadExp(StartThreadExp node)
           
protected  void visitStringLiteral(StringLiteral node)
           
protected  void visitThreadTestExp(ThreadTestExp node)
           
protected  void visitUnaryExp(UnaryExp node)
           
 
Methods inherited from class edu.ksu.cis.projects.bogor.ast.ASTVisitor
visitActionExtension, visitActionStatement, visitArrayAccessExp, visitAssertAction, visitAssignAction, visitAssumeAction, visitASTArrayType, visitASTBooleanType, visitASTDoubleType, visitASTExtType, visitASTFloatType, visitASTFunType, visitASTIntRangeType, visitASTIntType, visitASTLockType, visitASTLongRangeType, visitASTLongType, visitASTStringType, visitASTThreadIdType, visitAtomicActionStatement, visitAtomicExp, visitAtomicStatement, visitBlockStatement, visitBlockTransformation, visitBooleanConstant, visitCatch, visitChooseStatement, visitConstantDefinition, visitDoubleConstant, visitEnumDefinition, visitExitThreadAction, visitExpAction, visitExpExtension, visitExtensionDefinition, visitField, visitFloatConstant, visitFSM, visitFun, visitGlobal, visitGotoNextState, visitIdPrintArg, visitIdType, visitIfStatement, visitInitialValue, visitIntConstant, visitInvokeAction, visitInvokeTransformation, visitLiveSet, visitLocal, visitLocation, visitLockAction, visitLongConstant, visitParam, visitPrintAction, visitRecordDefinition, visitReturnNextState, visitReturnStatement, visitSkipStatement, visitStringConstant, visitStringPrintArg, visitSystem, visitThrowAction, visitTryCatchStatement, visitTypeAliasDefinition, visitTypedId, visitTypeExtension, visitVirtualTableDefinition, visitWhileStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstIntExpEvaluator.ConstIntExpEnforcer

protected ConstIntExpEvaluator.ConstIntExpEnforcer()
Method Detail

isExpConst

public boolean isExpConst(Exp exp)

visitApplyExp

protected void visitApplyExp(ApplyExp node)
Overrides:
visitApplyExp in class ASTVisitor

visitBinaryExp

protected void visitBinaryExp(BinaryExp node)
Overrides:
visitBinaryExp in class ASTVisitor

visitBooleanLiteral

protected void visitBooleanLiteral(BooleanLiteral node)
Overrides:
visitBooleanLiteral in class ASTVisitor

visitCastExp

protected void visitCastExp(CastExp node)
Overrides:
visitCastExp in class ASTVisitor

visitConditionalExp

protected void visitConditionalExp(ConditionalExp node)
Overrides:
visitConditionalExp in class ASTVisitor

visitDoubleLiteral

protected void visitDoubleLiteral(DoubleLiteral node)
Overrides:
visitDoubleLiteral in class ASTVisitor

visitExtExp

protected void visitExtExp(ExtExp node)
Overrides:
visitExtExp in class ASTVisitor

visitFieldAccessExp

protected void visitFieldAccessExp(FieldAccessExp node)
Overrides:
visitFieldAccessExp in class ASTVisitor

visitFloatLiteral

protected void visitFloatLiteral(FloatLiteral node)
Overrides:
visitFloatLiteral in class ASTVisitor

visitIdExp

protected void visitIdExp(IdExp node)
Overrides:
visitIdExp in class ASTVisitor

visitInstanceofExp

protected void visitInstanceofExp(InstanceofExp node)
Overrides:
visitInstanceofExp in class ASTVisitor

visitIntLiteral

protected void visitIntLiteral(IntLiteral node)
Overrides:
visitIntLiteral in class ASTVisitor

visitInvokeExp

protected void visitInvokeExp(InvokeExp node)
Overrides:
visitInvokeExp in class ASTVisitor

visitKindofExp

protected void visitKindofExp(KindofExp node)
Overrides:
visitKindofExp in class ASTVisitor

visitLetExp

protected void visitLetExp(LetExp node)
Overrides:
visitLetExp in class ASTVisitor

visitLiteralExp

protected void visitLiteralExp(LiteralExp node)
Overrides:
visitLiteralExp in class ASTVisitor

visitLockTestExp

protected void visitLockTestExp(LockTestExp node)
Overrides:
visitLockTestExp in class ASTVisitor

visitLongLiteral

protected void visitLongLiteral(LongLiteral node)
Overrides:
visitLongLiteral in class ASTVisitor

visitNewArrayExp

protected void visitNewArrayExp(NewArrayExp node)
Overrides:
visitNewArrayExp in class ASTVisitor

visitNewLockExp

protected void visitNewLockExp(NewLockExp node)
Overrides:
visitNewLockExp in class ASTVisitor

visitNewRecordExp

protected void visitNewRecordExp(NewRecordExp node)
Overrides:
visitNewRecordExp in class ASTVisitor

visitNullLiteral

protected void visitNullLiteral(NullLiteral node)
Overrides:
visitNullLiteral in class ASTVisitor

visitParenExp

protected void visitParenExp(ParenExp node)
Overrides:
visitParenExp in class ASTVisitor

visitStartThreadExp

protected void visitStartThreadExp(StartThreadExp node)
Overrides:
visitStartThreadExp in class ASTVisitor

visitStringLiteral

protected void visitStringLiteral(StringLiteral node)
Overrides:
visitStringLiteral in class ASTVisitor

visitThreadTestExp

protected void visitThreadTestExp(ThreadTestExp node)
Overrides:
visitThreadTestExp in class ASTVisitor

visitUnaryExp

protected void visitUnaryExp(UnaryExp node)
Overrides:
visitUnaryExp in class ASTVisitor