public class Translation extends DepthFirstAdapter
| Constructor and Description |
|---|
Translation(Module module) |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultOut(Node node) |
Object |
executeFunction(PName name,
PArgumentList arguments) |
Result |
getResult() |
void |
outAArrayAssignment(AArrayAssignment node) |
void |
outAIdentifierAssignment(AIdentifierAssignment node) |
void |
outAStatement(AStatement node) |
caseAAndLevel7, caseAArgumentListArgumentList, caseAArray, caseAArrayAssignment, caseAArrayMatrix, caseAAssignmentCommand, caseABitComplementLevel2, caseABooleanLiteral, caseAColumn, caseAColumnMatrix, caseACommaValue, caseAComplementLevel2, caseADotLdivLevel3, caseADotMultLevel3, caseADotPowerLevel1, caseADotRdivLevel3, caseADotTransposeLevel1, caseAEmptyFunction, caseAEmptyMatrix, caseAEqLevel6, caseAExpressionArgumentList, caseAExpressionLevel0, caseAFalseBoolean, caseAFloatingPointLiteral, caseAFunctionLevel0, caseAGteqLevel6, caseAGtLevel6, caseAIdentifierAssignment, caseAIdentifierLevel0, caseAIntegerLiteral, caseALdivLevel3, caseALevel0Level1, caseALevel10Expression, caseALevel1Level2, caseALevel2Level3, caseALevel3Level4, caseALevel4Level5, caseALevel5Level6, caseALevel6Level7, caseALevel7Level8, caseALevel8Level9, caseALevel9Level10, caseALiteralLevel0, caseALogicalAndLevel9, caseALogicalOrLevel10, caseALteqLevel6, caseALtLevel6, caseAMatrixLevel0, caseAMinusLevel2, caseAMinusLevel4, caseAMultLevel3, caseANeqLevel6, caseAOrLevel8, caseAParameterFunction, caseAPlusLevel2, caseAPlusLevel4, caseAPowerLevel1, caseAQualifiedName, caseARangeLevel5, caseARdivLevel3, caseARow, caseARowMatrix, caseAScript, caseASemicolonRow, caseASemicolonValue, caseASimpleName, caseAStatement, caseAStatementCommand, caseAStepsize, caseAStringLiteral, caseATransposeLevel1, caseATrueBoolean, caseAValueMatrix, caseStart, defaultIn, inAAndLevel7, inAArgumentListArgumentList, inAArray, inAArrayAssignment, inAArrayMatrix, inAAssignmentCommand, inABitComplementLevel2, inABooleanLiteral, inAColumn, inAColumnMatrix, inACommaValue, inAComplementLevel2, inADotLdivLevel3, inADotMultLevel3, inADotPowerLevel1, inADotRdivLevel3, inADotTransposeLevel1, inAEmptyFunction, inAEmptyMatrix, inAEqLevel6, inAExpressionArgumentList, inAExpressionLevel0, inAFalseBoolean, inAFloatingPointLiteral, inAFunctionLevel0, inAGteqLevel6, inAGtLevel6, inAIdentifierAssignment, inAIdentifierLevel0, inAIntegerLiteral, inALdivLevel3, inALevel0Level1, inALevel10Expression, inALevel1Level2, inALevel2Level3, inALevel3Level4, inALevel4Level5, inALevel5Level6, inALevel6Level7, inALevel7Level8, inALevel8Level9, inALevel9Level10, inALiteralLevel0, inALogicalAndLevel9, inALogicalOrLevel10, inALteqLevel6, inALtLevel6, inAMatrixLevel0, inAMinusLevel2, inAMinusLevel4, inAMultLevel3, inANeqLevel6, inAOrLevel8, inAParameterFunction, inAPlusLevel2, inAPlusLevel4, inAPowerLevel1, inAQualifiedName, inARangeLevel5, inARdivLevel3, inARow, inARowMatrix, inAScript, inASemicolonRow, inASemicolonValue, inASimpleName, inAStatement, inAStatementCommand, inAStepsize, inAStringLiteral, inATransposeLevel1, inATrueBoolean, inAValueMatrix, inStart, outAAndLevel7, outAArgumentListArgumentList, outAArray, outAArrayMatrix, outAAssignmentCommand, outABitComplementLevel2, outABooleanLiteral, outAColumn, outAColumnMatrix, outACommaValue, outAComplementLevel2, outADotLdivLevel3, outADotMultLevel3, outADotPowerLevel1, outADotRdivLevel3, outADotTransposeLevel1, outAEmptyFunction, outAEmptyMatrix, outAEqLevel6, outAExpressionArgumentList, outAExpressionLevel0, outAFalseBoolean, outAFloatingPointLiteral, outAFunctionLevel0, outAGteqLevel6, outAGtLevel6, outAIdentifierLevel0, outAIntegerLiteral, outALdivLevel3, outALevel0Level1, outALevel10Expression, outALevel1Level2, outALevel2Level3, outALevel3Level4, outALevel4Level5, outALevel5Level6, outALevel6Level7, outALevel7Level8, outALevel8Level9, outALevel9Level10, outALiteralLevel0, outALogicalAndLevel9, outALogicalOrLevel10, outALteqLevel6, outALtLevel6, outAMatrixLevel0, outAMinusLevel2, outAMinusLevel4, outAMultLevel3, outANeqLevel6, outAOrLevel8, outAParameterFunction, outAPlusLevel2, outAPlusLevel4, outAPowerLevel1, outAQualifiedName, outARangeLevel5, outARdivLevel3, outARow, outARowMatrix, outAScript, outASemicolonRow, outASemicolonValue, outASimpleName, outAStatementCommand, outAStepsize, outAStringLiteral, outATransposeLevel1, outATrueBoolean, outAValueMatrix, outStartcaseEOF, caseTAnd, caseTAssign, caseTBitComplement, caseTColon, caseTComma, caseTComplement, caseTDocumentationComment, caseTDot, caseTDotLdiv, caseTDotMult, caseTDotPower, caseTDotRdiv, caseTDotTranspose, caseTEndOfLineComment, caseTEq, caseTFalse, caseTFloatingPoint, caseTGt, caseTGteq, caseTIdentifier, caseTInteger, caseTLBrace, caseTLBracket, caseTLdiv, caseTLogicalAnd, caseTLogicalOr, caseTLParenthese, caseTLt, caseTLteq, caseTMatlabComment, caseTMinus, caseTMult, caseTNeq, caseTNull, caseTOr, caseTPlus, caseTPower, caseTQuestion, caseTRBrace, caseTRBracket, caseTRdiv, caseTRParenthese, caseTSemicolon, caseTString, caseTTraditionalComment, caseTTranspose, caseTTrue, caseTWhiteSpace, defaultCase, getIn, getOut, setIn, setOutpublic static final String ANS
public Translation(Module module)
public void defaultOut(Node node)
defaultOut in class DepthFirstAdapterpublic Result getResult()
public void outAArrayAssignment(AArrayAssignment node)
outAArrayAssignment in class DepthFirstAdapterpublic void outAIdentifierAssignment(AIdentifierAssignment node)
outAIdentifierAssignment in class DepthFirstAdapterpublic Object executeFunction(PName name, PArgumentList arguments) throws Exception
Exceptionpublic void outAStatement(AStatement node)
outAStatement in class DepthFirstAdapterCopyright © 2015 Java Data Mining Package. All rights reserved.