|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.clef.DescendPredicate
public abstract class DescendPredicate
This is an abstract class that implements a recursive descent visit of a Clef AST class tree.
$Id: DescendPredicate.java,v 1.68 2007-10-04 19:58:02 burrill Exp $
Copyright 2007 by the
Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
Sub-classes should implement override methods for the leaf nodes that matter to them.
scale.clef
Constructor Summary | |
---|---|
DescendPredicate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DescendPredicate()
Method Detail |
---|
public void visitChildren(Node parent)
public void visitAbsoluteValueOp(AbsoluteValueOp n)
visitAbsoluteValueOp
in interface ExprPredicate
public void visitAdditionAssignmentOp(AdditionAssignmentOp n)
visitAdditionAssignmentOp
in interface ExprPredicate
public void visitAdditionOp(AdditionOp n)
visitAdditionOp
in interface ExprPredicate
public void visitAddressLiteral(AddressLiteral n)
visitAddressLiteral
in interface ExprPredicate
public void visitAddressOp(AddressOp n)
visitAddressOp
in interface ExprPredicate
public void visitAggregateOp(AggregateOp n)
visitAggregateOp
in interface ExprPredicate
public void visitAggregateType(AggregateType n)
visitAggregateType
in interface TypePredicate
public void visitAggregationElements(AggregationElements n)
visitAggregationElements
in interface ExprPredicate
public void visitAllocArrayType(AllocArrayType n)
visitAllocArrayType
in interface TypePredicate
public void visitAllocatePlacementOp(AllocatePlacementOp n)
visitAllocatePlacementOp
in interface ExprPredicate
public void visitAllocateSettingFieldsOp(AllocateSettingFieldsOp n)
visitAllocateSettingFieldsOp
in interface ExprPredicate
public void visitAltCase(AltCase n)
visitAltCase
in interface StmtPredicate
public void visitAndConditionalOp(AndConditionalOp n)
visitAndConditionalOp
in interface ExprPredicate
public void visitAndOp(AndOp n)
visitAndOp
in interface ExprPredicate
public void visitArithmeticIfStmt(ArithmeticIfStmt n)
visitArithmeticIfStmt
in interface StmtPredicate
public void visitArrayType(ArrayType n)
visitArrayType
in interface TypePredicate
public void visitAssignLabelStmt(AssignLabelStmt n)
visitAssignLabelStmt
in interface StmtPredicate
public void visitAssignSimpleOp(AssignSimpleOp n)
visitAssignSimpleOp
in interface ExprPredicate
public void visitAssignedGotoStmt(AssignedGotoStmt n)
visitAssignedGotoStmt
in interface StmtPredicate
public void visitAssignmentOp(AssignmentOp n)
visitAssignmentOp
in interface ExprPredicate
public void visitAtomicType(AtomicType n)
visitAtomicType
in interface TypePredicate
public void visitBitAndAssignmentOp(BitAndAssignmentOp n)
visitBitAndAssignmentOp
in interface ExprPredicate
public void visitBitAndOp(BitAndOp n)
visitBitAndOp
in interface ExprPredicate
public void visitBitComplementOp(BitComplementOp n)
visitBitComplementOp
in interface ExprPredicate
public void visitBitOrAssignmentOp(BitOrAssignmentOp n)
visitBitOrAssignmentOp
in interface ExprPredicate
public void visitBitOrOp(BitOrOp n)
visitBitOrOp
in interface ExprPredicate
public void visitBitShiftAssignmentOp(BitShiftAssignmentOp n)
visitBitShiftAssignmentOp
in interface ExprPredicate
public void visitBitShiftOp(BitShiftOp n)
visitBitShiftOp
in interface ExprPredicate
public void visitBitXorAssignmentOp(BitXorAssignmentOp n)
visitBitXorAssignmentOp
in interface ExprPredicate
public void visitBitXorOp(BitXorOp n)
visitBitXorOp
in interface ExprPredicate
public void visitBlockStmt(BlockStmt n)
visitBlockStmt
in interface StmtPredicate
public void visitBooleanLiteral(BooleanLiteral n)
visitBooleanLiteral
in interface ExprPredicate
public void visitBooleanType(BooleanType n)
visitBooleanType
in interface TypePredicate
public void visitBound(Bound n)
visitBound
in interface TypePredicate
public void visitBreakStmt(BreakStmt n)
visitBreakStmt
in interface StmtPredicate
public void visitCallFunctionOp(CallFunctionOp n)
visitCallFunctionOp
in interface ExprPredicate
public void visitCallOp(CallOp n)
visitCallOp
in interface ExprPredicate
public void visitCaseLabelDecl(CaseLabelDecl n)
visitCaseLabelDecl
in interface DeclPredicate
public void visitCaseStmt(CaseStmt n)
visitCaseStmt
in interface StmtPredicate
public void visitCharLiteral(CharLiteral n)
visitCharLiteral
in interface ExprPredicate
public void visitCharacterType(CharacterType n)
visitCharacterType
in interface TypePredicate
public void visitComplexLiteral(ComplexLiteral n)
visitComplexLiteral
in interface ExprPredicate
public void visitComplexOp(ComplexOp n)
visitComplexOp
in interface ExprPredicate
public void visitComplexType(ComplexType n)
visitComplexType
in interface TypePredicate
public void visitCompositeType(CompositeType n)
visitCompositeType
in interface TypePredicate
public void visitCompoundAssignmentOp(CompoundAssignmentOp n)
visitCompoundAssignmentOp
in interface ExprPredicate
public void visitComputedGotoStmt(ComputedGotoStmt n)
visitComputedGotoStmt
in interface StmtPredicate
public void visitContinueStmt(ContinueStmt n)
visitContinueStmt
in interface StmtPredicate
public void visitDeclStmt(DeclStmt n)
visitDeclStmt
in interface StmtPredicate
public void visitDeclaration(Declaration n)
visitDeclaration
in interface DeclPredicate
public void visitDefOp(DefOp n)
visitDefOp
in interface ExprPredicate
public void visitDeleteArrayOp(DeleteArrayOp n)
visitDeleteArrayOp
in interface ExprPredicate
public void visitDeleteOp(DeleteOp n)
visitDeleteOp
in interface ExprPredicate
public void visitDereferenceOp(DereferenceOp n)
visitDereferenceOp
in interface ExprPredicate
public void visitDivisionAssignmentOp(DivisionAssignmentOp n)
visitDivisionAssignmentOp
in interface ExprPredicate
public void visitDivisionOp(DivisionOp n)
visitDivisionOp
in interface ExprPredicate
public void visitDoLoopStmt(DoLoopStmt n)
visitDoLoopStmt
in interface StmtPredicate
public void visitDyadicOp(DyadicOp n)
visitDyadicOp
in interface ExprPredicate
public void visitEnumElementDecl(EnumElementDecl n)
visitEnumElementDecl
in interface DeclPredicate
public void visitEnumerationType(EnumerationType n)
visitEnumerationType
in interface TypePredicate
public void visitEqualityOp(EqualityOp n)
visitEqualityOp
in interface ExprPredicate
public void visitEquivalenceDecl(EquivalenceDecl n)
visitEquivalenceDecl
in interface DeclPredicate
public void visitEvalStmt(EvalStmt n)
visitEvalStmt
in interface StmtPredicate
public void visitExceptionDecl(ExceptionDecl n)
visitExceptionDecl
in interface DeclPredicate
public void visitExitStmt(ExitStmt n)
visitExitStmt
in interface StmtPredicate
public void visitExponentiationOp(ExponentiationOp n)
visitExponentiationOp
in interface ExprPredicate
public void visitExpression(Expression n)
visitExpression
in interface ExprPredicate
public void visitExpressionIfOp(ExpressionIfOp n)
visitExpressionIfOp
in interface ExprPredicate
public void visitFieldDecl(FieldDecl n)
visitFieldDecl
in interface DeclPredicate
public void visitFileDecl(FileDecl n)
visitFileDecl
in interface DeclPredicate
public void visitFixedArrayType(FixedArrayType n)
visitFixedArrayType
in interface TypePredicate
public void visitFloatArrayLiteral(FloatArrayLiteral n)
visitFloatArrayLiteral
in interface ExprPredicate
public void visitFloatLiteral(FloatLiteral n)
visitFloatLiteral
in interface ExprPredicate
public void visitFloatType(FloatType n)
visitFloatType
in interface TypePredicate
public void visitForLoopStmt(ForLoopStmt n)
visitForLoopStmt
in interface StmtPredicate
public void visitFormalDecl(FormalDecl n)
visitFormalDecl
in interface DeclPredicate
public void visitForwardProcedureDecl(ForwardProcedureDecl n)
visitForwardProcedureDecl
in interface DeclPredicate
public void visitGotoStmt(GotoStmt n)
visitGotoStmt
in interface StmtPredicate
public void visitGreaterEqualOp(GreaterEqualOp n)
visitGreaterEqualOp
in interface ExprPredicate
public void visitGreaterOp(GreaterOp n)
visitGreaterOp
in interface ExprPredicate
public void visitHeapOp(HeapOp n)
visitHeapOp
in interface ExprPredicate
public void visitIdAddressOp(IdAddressOp n)
visitIdAddressOp
in interface ExprPredicate
public void visitIdReferenceOp(IdReferenceOp n)
visitIdReferenceOp
in interface ExprPredicate
public void visitIdValueOp(IdValueOp n)
visitIdValueOp
in interface ExprPredicate
public void visitIfStmt(IfStmt n)
visitIfStmt
in interface StmtPredicate
public void visitIfThenElseStmt(IfThenElseStmt n)
visitIfThenElseStmt
in interface StmtPredicate
public void visitIncompleteType(IncompleteType n)
visitIncompleteType
in interface TypePredicate
public void visitIncrementOp(IncrementOp n)
visitIncrementOp
in interface ExprPredicate
public void visitIntArrayLiteral(IntArrayLiteral n)
visitIntArrayLiteral
in interface ExprPredicate
public void visitIntLiteral(IntLiteral n)
visitIntLiteral
in interface ExprPredicate
public void visitIntegerType(IntegerType n)
visitIntegerType
in interface TypePredicate
public void visitSignedIntegerType(SignedIntegerType n)
visitSignedIntegerType
in interface TypePredicate
public void visitUnsignedIntegerType(UnsignedIntegerType n)
visitUnsignedIntegerType
in interface TypePredicate
public void visitFortranCharType(FortranCharType n)
visitFortranCharType
in interface TypePredicate
public void visitLabelDecl(LabelDecl n)
visitLabelDecl
in interface DeclPredicate
public void visitLabelStmt(LabelStmt n)
visitLabelStmt
in interface StmtPredicate
public void visitLessEqualOp(LessEqualOp n)
visitLessEqualOp
in interface ExprPredicate
public void visitLessOp(LessOp n)
visitLessOp
in interface ExprPredicate
public void visitLiteral(Literal n)
visitLiteral
in interface ExprPredicate
public void visitLoopStmt(LoopStmt n)
visitLoopStmt
in interface StmtPredicate
public void visitMaximumOp(MaximumOp n)
visitMaximumOp
in interface ExprPredicate
public void visitMinimumOp(MinimumOp n)
visitMinimumOp
in interface ExprPredicate
public void visitModulusOp(ModulusOp n)
visitModulusOp
in interface ExprPredicate
public void visitMonadicOp(MonadicOp n)
visitMonadicOp
in interface ExprPredicate
public void visitMultiBranchStmt(MultiBranchStmt n)
visitMultiBranchStmt
in interface StmtPredicate
public void visitMultiplicationAssignmentOp(MultiplicationAssignmentOp n)
visitMultiplicationAssignmentOp
in interface ExprPredicate
public void visitMultiplicationOp(MultiplicationOp n)
visitMultiplicationOp
in interface ExprPredicate
public void visitNegativeOp(NegativeOp n)
visitNegativeOp
in interface ExprPredicate
public void visitNilOp(NilOp n)
visitNilOp
in interface ExprPredicate
public void visitNode(Node n)
visitNode
in interface Predicate
public void visitNotEqualOp(NotEqualOp n)
visitNotEqualOp
in interface ExprPredicate
public void visitNotOp(NotOp n)
visitNotOp
in interface ExprPredicate
public void visitNullStmt(NullStmt n)
visitNullStmt
in interface StmtPredicate
public void visitNumericType(NumericType n)
visitNumericType
in interface TypePredicate
public void visitOrConditionalOp(OrConditionalOp n)
visitOrConditionalOp
in interface ExprPredicate
public void visitOrOp(OrOp n)
visitOrOp
in interface ExprPredicate
public void visitParenthesesOp(ParenthesesOp n)
visitParenthesesOp
in interface ExprPredicate
public void visitPointerType(PointerType n)
visitPointerType
in interface TypePredicate
public void visitPositiveOp(PositiveOp n)
visitPositiveOp
in interface ExprPredicate
public void visitPostDecrementOp(PostDecrementOp n)
visitPostDecrementOp
in interface ExprPredicate
public void visitPostIncrementOp(PostIncrementOp n)
visitPostIncrementOp
in interface ExprPredicate
public void visitPreDecrementOp(PreDecrementOp n)
visitPreDecrementOp
in interface ExprPredicate
public void visitPreIncrementOp(PreIncrementOp n)
visitPreIncrementOp
in interface ExprPredicate
public void visitProcedureDecl(ProcedureDecl n)
visitProcedureDecl
in interface DeclPredicate
public void visitProcedureType(ProcedureType n)
visitProcedureType
in interface TypePredicate
public void visitRaise(Raise n)
visitRaise
in interface TypePredicate
public void visitRaiseWithObject(RaiseWithObject n)
visitRaiseWithObject
in interface TypePredicate
public void visitRaiseWithType(RaiseWithType n)
visitRaiseWithType
in interface TypePredicate
public void visitRealType(RealType n)
visitRealType
in interface TypePredicate
public void visitRecordType(RecordType n)
visitRecordType
in interface TypePredicate
public void visitRefType(RefType n)
visitRefType
in interface TypePredicate
public void visitRemainderAssignmentOp(RemainderAssignmentOp n)
visitRemainderAssignmentOp
in interface ExprPredicate
public void visitRemainderOp(RemainderOp n)
visitRemainderOp
in interface ExprPredicate
public void visitRenamedVariableDecl(RenamedVariableDecl n)
visitRenamedVariableDecl
in interface DeclPredicate
public void visitRepeatUntilLoopStmt(RepeatUntilLoopStmt n)
visitRepeatUntilLoopStmt
in interface StmtPredicate
public void visitRepeatWhileLoopStmt(RepeatWhileLoopStmt n)
visitRepeatWhileLoopStmt
in interface StmtPredicate
public void visitReturnStmt(ReturnStmt n)
visitReturnStmt
in interface StmtPredicate
public void visitRoutineDecl(RoutineDecl n)
visitRoutineDecl
in interface DeclPredicate
public void visitSelectIndirectOp(SelectIndirectOp n)
visitSelectIndirectOp
in interface ExprPredicate
public void visitSelectOp(SelectOp n)
visitSelectOp
in interface ExprPredicate
public void visitSeriesOp(SeriesOp n)
visitSeriesOp
in interface ExprPredicate
public void visitSizeofLiteral(SizeofLiteral n)
visitSizeofLiteral
in interface ExprPredicate
public void visitStatement(Statement n)
visitStatement
in interface StmtPredicate
public void visitStatementOp(StatementOp n)
visitStatementOp
in interface ExprPredicate
public void visitStringLiteral(StringLiteral n)
visitStringLiteral
in interface ExprPredicate
public void visitSubscriptAddressOp(SubscriptAddressOp n)
visitSubscriptAddressOp
in interface ExprPredicate
public void visitSubscriptOp(SubscriptOp n)
visitSubscriptOp
in interface ExprPredicate
public void visitSubscriptValueOp(SubscriptValueOp n)
visitSubscriptValueOp
in interface ExprPredicate
public void visitSubstringOp(SubstringOp n)
visitSubstringOp
in interface ExprPredicate
public void visitSubtractionAssignmentOp(SubtractionAssignmentOp n)
visitSubtractionAssignmentOp
in interface ExprPredicate
public void visitSubtractionOp(SubtractionOp n)
visitSubtractionOp
in interface ExprPredicate
public void visitSwitchStmt(SwitchStmt n)
visitSwitchStmt
in interface StmtPredicate
public void visitTernaryOp(TernaryOp n)
visitTernaryOp
in interface ExprPredicate
public void visitTestLoopStmt(TestLoopStmt n)
visitTestLoopStmt
in interface StmtPredicate
public void visitThisOp(ThisOp n)
visitThisOp
in interface ExprPredicate
public void visitTranscendental2Op(Transcendental2Op n)
visitTranscendental2Op
in interface ExprPredicate
public void visitTranscendentalOp(TranscendentalOp n)
visitTranscendentalOp
in interface ExprPredicate
public void visitType(Type n)
visitType
in interface TypePredicate
public void visitTypeConversionOp(TypeConversionOp n)
visitTypeConversionOp
in interface ExprPredicate
public void visitTypeDecl(TypeDecl n)
visitTypeDecl
in interface DeclPredicate
public void visitTypeName(TypeName n)
visitTypeName
in interface DeclPredicate
public void visitUnionType(UnionType n)
visitUnionType
in interface TypePredicate
public void visitUnknownFormals(UnknownFormals n)
visitUnknownFormals
in interface DeclPredicate
public void visitVaArgOp(VaArgOp n)
visitVaArgOp
in interface ExprPredicate
public void visitVaCopyOp(VaCopyOp n)
visitVaCopyOp
in interface ExprPredicate
public void visitVaEndOp(VaEndOp n)
visitVaEndOp
in interface ExprPredicate
public void visitVaStartOp(VaStartOp n)
visitVaStartOp
in interface ExprPredicate
public void visitValueDecl(ValueDecl n)
visitValueDecl
in interface DeclPredicate
public void visitVarArgOp(VarArgOp n)
visitVarArgOp
in interface ExprPredicate
public void visitVariableDecl(VariableDecl n)
visitVariableDecl
in interface DeclPredicate
public void visitVoidType(VoidType n)
visitVoidType
in interface TypePredicate
public void visitWhileLoopStmt(WhileLoopStmt n)
visitWhileLoopStmt
in interface StmtPredicate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |