001: /* This file was generated by SableCC (http://www.sablecc.org/). */
002:
003: package org.jmatlab.analysis;
004:
005: import org.jmatlab.node.*;
006:
007: public interface Analysis extends Switch {
008: Object getIn(Node node);
009:
010: void setIn(Node node, Object in);
011:
012: Object getOut(Node node);
013:
014: void setOut(Node node, Object out);
015:
016: void caseStart(Start node);
017:
018: void caseAProgramStart(AProgramStart node);
019:
020: void caseAFunctionStart(AFunctionStart node);
021:
022: void caseAFunctionFunctionDef(AFunctionFunctionDef node);
023:
024: void caseAIdentifierFunctionDef(AIdentifierFunctionDef node);
025:
026: void caseAProcedureFunctionDef(AProcedureFunctionDef node);
027:
028: void caseASimpleFunctionDef(ASimpleFunctionDef node);
029:
030: void caseASingleVariables(ASingleVariables node);
031:
032: void caseAMultipleVariables(AMultipleVariables node);
033:
034: void caseAExpressionStatementStatement(
035: AExpressionStatementStatement node);
036:
037: void caseAReturnStatementStatement(AReturnStatementStatement node);
038:
039: void caseAIfStatement(AIfStatement node);
040:
041: void caseAWhileStatement(AWhileStatement node);
042:
043: void caseAForStatement(AForStatement node);
044:
045: void caseACommandStatement(ACommandStatement node);
046:
047: void caseAQuestionStatement(AQuestionStatement node);
048:
049: void caseASwitchStatement(ASwitchStatement node);
050:
051: void caseAGlobalStatement(AGlobalStatement node);
052:
053: void caseASwitchSwitchStatement(ASwitchSwitchStatement node);
054:
055: void caseACaseCaseStatement(ACaseCaseStatement node);
056:
057: void caseAOtherwiseOtherwiseStatement(
058: AOtherwiseOtherwiseStatement node);
059:
060: void caseAIfIfStatement(AIfIfStatement node);
061:
062: void caseAEndIfStatementLast(AEndIfStatementLast node);
063:
064: void caseAElseIfStatementLast(AElseIfStatementLast node);
065:
066: void caseAElseifIfStatementLast(AElseifIfStatementLast node);
067:
068: void caseAElseElseStatement(AElseElseStatement node);
069:
070: void caseAElseifElseIfStatement(AElseifElseIfStatement node);
071:
072: void caseAEndIfStatementEnd(AEndIfStatementEnd node);
073:
074: void caseAWhileWhileStatement(AWhileWhileStatement node);
075:
076: void caseAForForStatement(AForForStatement node);
077:
078: void caseARange2RangeExpression(ARange2RangeExpression node);
079:
080: void caseARange3RangeExpression(ARange3RangeExpression node);
081:
082: void caseAColonRangeExpression(AColonRangeExpression node);
083:
084: void caseAExpressionStatement(AExpressionStatement node);
085:
086: void caseAAssignmentStatementExpression(
087: AAssignmentStatementExpression node);
088:
089: void caseAMethodInvocationStatementExpression(
090: AMethodInvocationStatementExpression node);
091:
092: void caseAAssignmentExpressionExpression(
093: AAssignmentExpressionExpression node);
094:
095: void caseAConditionalExpressionAssignmentExpression(
096: AConditionalExpressionAssignmentExpression node);
097:
098: void caseAAssignmentAssignmentExpression(
099: AAssignmentAssignmentExpression node);
100:
101: void caseANameAssignment(ANameAssignment node);
102:
103: void caseAElementAssignment(AElementAssignment node);
104:
105: void caseAMatrixAssignment(AMatrixAssignment node);
106:
107: void caseAAssignAssignmentOperator(AAssignAssignmentOperator node);
108:
109: void caseAConditionalOrExpressionConditionalExpression(
110: AConditionalOrExpressionConditionalExpression node);
111:
112: void caseAConditionalAndExpressionConditionalOrExpression(
113: AConditionalAndExpressionConditionalOrExpression node);
114:
115: void caseAConditionalOrExpressionConditionalOrExpression(
116: AConditionalOrExpressionConditionalOrExpression node);
117:
118: void caseAInclusiveOrExpressionConditionalAndExpression(
119: AInclusiveOrExpressionConditionalAndExpression node);
120:
121: void caseAConditionalAndExpressionConditionalAndExpression(
122: AConditionalAndExpressionConditionalAndExpression node);
123:
124: void caseAExclusiveOrExpressionInclusiveOrExpression(
125: AExclusiveOrExpressionInclusiveOrExpression node);
126:
127: void caseAAndExpressionExclusiveOrExpression(
128: AAndExpressionExclusiveOrExpression node);
129:
130: void caseAEqualityExpressionAndExpression(
131: AEqualityExpressionAndExpression node);
132:
133: void caseARelationalExpressionEqualityExpression(
134: ARelationalExpressionEqualityExpression node);
135:
136: void caseAEqEqualityExpression(AEqEqualityExpression node);
137:
138: void caseANeqEqualityExpression(ANeqEqualityExpression node);
139:
140: void caseAShiftExpressionRelationalExpression(
141: AShiftExpressionRelationalExpression node);
142:
143: void caseALtRelationalExpression(ALtRelationalExpression node);
144:
145: void caseAGtRelationalExpression(AGtRelationalExpression node);
146:
147: void caseALteqRelationalExpression(ALteqRelationalExpression node);
148:
149: void caseAGteqRelationalExpression(AGteqRelationalExpression node);
150:
151: void caseAAdditiveExpressionShiftExpression(
152: AAdditiveExpressionShiftExpression node);
153:
154: void caseARangeShiftExpression(ARangeShiftExpression node);
155:
156: void caseAMultiplicativeExpressionAdditiveExpression(
157: AMultiplicativeExpressionAdditiveExpression node);
158:
159: void caseAPlusAdditiveExpression(APlusAdditiveExpression node);
160:
161: void caseAMinusAdditiveExpression(AMinusAdditiveExpression node);
162:
163: void caseAPowerExpressionMultiplicativeExpression(
164: APowerExpressionMultiplicativeExpression node);
165:
166: void caseAMultMultiplicativeExpression(
167: AMultMultiplicativeExpression node);
168:
169: void caseADotMultMultiplicativeExpression(
170: ADotMultMultiplicativeExpression node);
171:
172: void caseADivMultiplicativeExpression(
173: ADivMultiplicativeExpression node);
174:
175: void caseADotDivMultiplicativeExpression(
176: ADotDivMultiplicativeExpression node);
177:
178: void caseALeftDivMultiplicativeExpression(
179: ALeftDivMultiplicativeExpression node);
180:
181: void caseAModMultiplicativeExpression(
182: AModMultiplicativeExpression node);
183:
184: void caseAPlusUnaryExpression(APlusUnaryExpression node);
185:
186: void caseAMinusUnaryExpression(AMinusUnaryExpression node);
187:
188: void caseAPowerUnaryExpression(APowerUnaryExpression node);
189:
190: void caseAUnaryPowerExpression(AUnaryPowerExpression node);
191:
192: void caseAPowerPowerExpression(APowerPowerExpression node);
193:
194: void caseADotPowerPowerExpression(ADotPowerPowerExpression node);
195:
196: void caseAPostfixExpressionUnaryExpressionNotPlusMinus(
197: APostfixExpressionUnaryExpressionNotPlusMinus node);
198:
199: void caseAComplementUnaryExpressionNotPlusMinus(
200: AComplementUnaryExpressionNotPlusMinus node);
201:
202: void caseAPrimaryPostfixExpression(APrimaryPostfixExpression node);
203:
204: void caseANamePostfixExpression(ANamePostfixExpression node);
205:
206: void caseAPrimePostfixExpression(APrimePostfixExpression node);
207:
208: void caseAIdentifierName(AIdentifierName node);
209:
210: void caseAPrimaryNoNewArrayPrimary(APrimaryNoNewArrayPrimary node);
211:
212: void caseALiteralPrimaryNoNewArray(ALiteralPrimaryNoNewArray node);
213:
214: void caseALParenthesePrimaryNoNewArray(
215: ALParenthesePrimaryNoNewArray node);
216:
217: void caseAMethodInvocationPrimaryNoNewArray(
218: AMethodInvocationPrimaryNoNewArray node);
219:
220: void caseAMatrixPrimaryNoNewArray(AMatrixPrimaryNoNewArray node);
221:
222: void caseAStructurePrimaryNoNewArray(
223: AStructurePrimaryNoNewArray node);
224:
225: void caseANewStructurePrimaryNoNewArray(
226: ANewStructurePrimaryNoNewArray node);
227:
228: void caseACellPrimaryNoNewArray(ACellPrimaryNoNewArray node);
229:
230: void caseACellElementPrimaryNoNewArray(
231: ACellElementPrimaryNoNewArray node);
232:
233: void caseACellOnePrimaryNoNewArray(ACellOnePrimaryNoNewArray node);
234:
235: void caseACellTwoPrimaryNoNewArray(ACellTwoPrimaryNoNewArray node);
236:
237: void caseASingleStructVars(ASingleStructVars node);
238:
239: void caseAMultipleStructVars(AMultipleStructVars node);
240:
241: void caseAMatrixMatrix(AMatrixMatrix node);
242:
243: void caseASingleRows(ASingleRows node);
244:
245: void caseAMultipleRows(AMultipleRows node);
246:
247: void caseASingleRow(ASingleRow node);
248:
249: void caseAMultipleRow(AMultipleRow node);
250:
251: void caseANameMethodInvocation(ANameMethodInvocation node);
252:
253: void caseAExpressionArgumentList(AExpressionArgumentList node);
254:
255: void caseAArgumentListArgumentList(AArgumentListArgumentList node);
256:
257: void caseAIntegerLiteralLiteral(AIntegerLiteralLiteral node);
258:
259: void caseAFloatingPointLiteralLiteral(
260: AFloatingPointLiteralLiteral node);
261:
262: void caseABooleanLiteralLiteral(ABooleanLiteralLiteral node);
263:
264: void caseAStringLiteralLiteral(AStringLiteralLiteral node);
265:
266: void caseAImaginaryLiteralLiteral(AImaginaryLiteralLiteral node);
267:
268: void caseAStringStringLiteral(AStringStringLiteral node);
269:
270: void caseAImaginaryImaginaryLiteral(AImaginaryImaginaryLiteral node);
271:
272: void caseATrueBooleanLiteral(ATrueBooleanLiteral node);
273:
274: void caseAFalseBooleanLiteral(AFalseBooleanLiteral node);
275:
276: void caseADecimalIntegerLiteral(ADecimalIntegerLiteral node);
277:
278: void caseTIf(TIf node);
279:
280: void caseTThen(TThen node);
281:
282: void caseTElse(TElse node);
283:
284: void caseTElseif(TElseif node);
285:
286: void caseTEnd(TEnd node);
287:
288: void caseTWhile(TWhile node);
289:
290: void caseTDo(TDo node);
291:
292: void caseTFor(TFor node);
293:
294: void caseTGlobal(TGlobal node);
295:
296: void caseTFunction(TFunction node);
297:
298: void caseTProcedure(TProcedure node);
299:
300: void caseTReturn(TReturn node);
301:
302: void caseTStep(TStep node);
303:
304: void caseTTrue(TTrue node);
305:
306: void caseTFalse(TFalse node);
307:
308: void caseTStruct(TStruct node);
309:
310: void caseTCell(TCell node);
311:
312: void caseTCase(TCase node);
313:
314: void caseTSwitch(TSwitch node);
315:
316: void caseTOtherwise(TOtherwise node);
317:
318: void caseTDiv(TDiv node);
319:
320: void caseTPlus(TPlus node);
321:
322: void caseTMinus(TMinus node);
323:
324: void caseTMult(TMult node);
325:
326: void caseTLeftDiv(TLeftDiv node);
327:
328: void caseTDotLeftDiv(TDotLeftDiv node);
329:
330: void caseTRightDiv(TRightDiv node);
331:
332: void caseTDotRightDiv(TDotRightDiv node);
333:
334: void caseTAssignop(TAssignop node);
335:
336: void caseTPower(TPower node);
337:
338: void caseTDotPower(TDotPower node);
339:
340: void caseTQuestion(TQuestion node);
341:
342: void caseTComplement(TComplement node);
343:
344: void caseTMod(TMod node);
345:
346: void caseTAnd(TAnd node);
347:
348: void caseTOr(TOr node);
349:
350: void caseTNot(TNot node);
351:
352: void caseTLt(TLt node);
353:
354: void caseTGt(TGt node);
355:
356: void caseTEq(TEq node);
357:
358: void caseTLteq(TLteq node);
359:
360: void caseTGteq(TGteq node);
361:
362: void caseTNgeq(TNgeq node);
363:
364: void caseTPrime(TPrime node);
365:
366: void caseTComma(TComma node);
367:
368: void caseTColon(TColon node);
369:
370: void caseTSemicolon(TSemicolon node);
371:
372: void caseTDot(TDot node);
373:
374: void caseTLParen(TLParen node);
375:
376: void caseTRParen(TRParen node);
377:
378: void caseTLCurlyBracket(TLCurlyBracket node);
379:
380: void caseTRCurlyBracket(TRCurlyBracket node);
381:
382: void caseTLSquareBracket(TLSquareBracket node);
383:
384: void caseTRSquareBracket(TRSquareBracket node);
385:
386: void caseTDotPrime(TDotPrime node);
387:
388: void caseTString(TString node);
389:
390: void caseTIdentifier(TIdentifier node);
391:
392: void caseTDotIdentifier(TDotIdentifier node);
393:
394: void caseTImaginaryNumber(TImaginaryNumber node);
395:
396: void caseTDecimalIntegerLiteral(TDecimalIntegerLiteral node);
397:
398: void caseTFloatingPointLiteral(TFloatingPointLiteral node);
399:
400: void caseTBlanks(TBlanks node);
401:
402: void caseTComments(TComments node);
403:
404: void caseEOF(EOF node);
405: }
|