|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object minibasic.analysis.AnalysisAdapter minibasic.analysis.DepthFirstAdapter minibasic.Interpreter
コンストラクタの概要 | |
Interpreter()
|
メソッドの概要 | |
void |
caseAAssignmentStatement(AAssignmentStatement node)
ASSIGNMENT identifier := expression |
void |
caseAConstantValue(AConstantValue node)
CONTSTANT value (integer format) |
void |
caseADivExpression(ADivExpression node)
CALC(DIV) left / right |
void |
caseAEqualCondition(AEqualCondition node)
CONDITION(EQ) left = right |
void |
caseAExpressionValue(AExpressionValue node)
EXPRESSION value |
void |
caseAForStatement(AForStatement node)
FOR identifier := from_exp TO to_exp statements NEXT |
void |
caseAGreaterThanCondition(AGreaterThanCondition node)
CONDITION(GT) left > right |
void |
caseAIdentifierValue(AIdentifierValue node)
IDENT value (assigned variable) |
void |
caseAIfStatement(AIfStatement node)
IF condition THEN statements [ELSE statements] ENDIF |
void |
caseALessThanCondition(ALessThanCondition node)
CONDITION(LT) left < right |
void |
caseAMinusExpression(AMinusExpression node)
CALC(MINUS) left - right |
void |
caseAModExpression(AModExpression node)
CALC(MOD) left MOD right |
void |
caseAMultExpression(AMultExpression node)
CALC(MULT) left * right |
void |
caseAPlusExpression(APlusExpression node)
CALC(PLUS) left + right |
void |
caseAPrintExpStatement(APrintExpStatement node)
PRINT expression |
void |
caseAPrintlnStatement(APrintlnStatement node)
PRINTLN |
void |
caseAPrintStrStatement(APrintStrStatement node)
PRINT "string" |
void |
caseAReadStatement(AReadStatement node)
READ identifier |
void |
caseAValueExpression(AValueExpression node)
GET value |
クラス minibasic.analysis.AnalysisAdapter から継承したメソッド |
caseEOF, caseTAssign, caseTBlank, caseTDiv, caseTElse, caseTEndif, caseTEqual, caseTFor, caseTGreaterThan, caseTIdentifier, caseTIf, caseTLessThan, caseTLPar, caseTMinus, caseTMod, caseTMult, caseTNewLine, caseTNext, caseTNumber, caseTPlus, caseTPrint, caseTPrintln, caseTRead, caseTRPar, caseTString, caseTThen, caseTTo, defaultCase, getIn, getOut, setIn, setOut |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public Interpreter()
メソッドの詳細 |
public void caseAIfStatement(AIfStatement node)
Analysis
内の caseAIfStatement
DepthFirstAdapter
内の caseAIfStatement
public void caseAForStatement(AForStatement node)
Analysis
内の caseAForStatement
DepthFirstAdapter
内の caseAForStatement
public void caseAReadStatement(AReadStatement node)
Analysis
内の caseAReadStatement
DepthFirstAdapter
内の caseAReadStatement
public void caseAPrintExpStatement(APrintExpStatement node)
Analysis
内の caseAPrintExpStatement
DepthFirstAdapter
内の caseAPrintExpStatement
public void caseAPrintStrStatement(APrintStrStatement node)
Analysis
内の caseAPrintStrStatement
DepthFirstAdapter
内の caseAPrintStrStatement
public void caseAPrintlnStatement(APrintlnStatement node)
Analysis
内の caseAPrintlnStatement
DepthFirstAdapter
内の caseAPrintlnStatement
public void caseAAssignmentStatement(AAssignmentStatement node)
Analysis
内の caseAAssignmentStatement
DepthFirstAdapter
内の caseAAssignmentStatement
public void caseALessThanCondition(ALessThanCondition node)
Analysis
内の caseALessThanCondition
DepthFirstAdapter
内の caseALessThanCondition
public void caseAGreaterThanCondition(AGreaterThanCondition node)
Analysis
内の caseAGreaterThanCondition
DepthFirstAdapter
内の caseAGreaterThanCondition
public void caseAEqualCondition(AEqualCondition node)
Analysis
内の caseAEqualCondition
DepthFirstAdapter
内の caseAEqualCondition
public void caseAValueExpression(AValueExpression node)
Analysis
内の caseAValueExpression
DepthFirstAdapter
内の caseAValueExpression
public void caseAPlusExpression(APlusExpression node)
Analysis
内の caseAPlusExpression
DepthFirstAdapter
内の caseAPlusExpression
public void caseAMinusExpression(AMinusExpression node)
Analysis
内の caseAMinusExpression
DepthFirstAdapter
内の caseAMinusExpression
public void caseAMultExpression(AMultExpression node)
Analysis
内の caseAMultExpression
DepthFirstAdapter
内の caseAMultExpression
public void caseADivExpression(ADivExpression node)
Analysis
内の caseADivExpression
DepthFirstAdapter
内の caseADivExpression
public void caseAModExpression(AModExpression node)
Analysis
内の caseAModExpression
DepthFirstAdapter
内の caseAModExpression
public void caseAConstantValue(AConstantValue node)
Analysis
内の caseAConstantValue
DepthFirstAdapter
内の caseAConstantValue
public void caseAIdentifierValue(AIdentifierValue node)
Analysis
内の caseAIdentifierValue
DepthFirstAdapter
内の caseAIdentifierValue
public void caseAExpressionValue(AExpressionValue node)
Analysis
内の caseAExpressionValue
DepthFirstAdapter
内の caseAExpressionValue
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |