//generated by abstract-syntax-gen package de.peeeq.wurstscript.jassIm; import java.util.*; public interface ImStmt extends ImPrintable, Element{ Element getParent(); T match(Matcher s); void match(MatcherVoid s); public interface Matcher { T case_ImVarArrayAccess(ImVarArrayAccess imVarArrayAccess); T case_ImFuncRef(ImFuncRef imFuncRef); T case_ImTypeIdOfClass(ImTypeIdOfClass imTypeIdOfClass); T case_ImDealloc(ImDealloc imDealloc); T case_ImFunctionCall(ImFunctionCall imFunctionCall); T case_ImMethodCall(ImMethodCall imMethodCall); T case_ImOperatorCall(ImOperatorCall imOperatorCall); T case_ImExitwhen(ImExitwhen imExitwhen); T case_ImVarAccess(ImVarAccess imVarAccess); T case_ImBoolVal(ImBoolVal imBoolVal); T case_ImInstanceof(ImInstanceof imInstanceof); T case_ImGetStackTrace(ImGetStackTrace imGetStackTrace); T case_ImSet(ImSet imSet); T case_ImLoop(ImLoop imLoop); T case_ImTypeIdOfObj(ImTypeIdOfObj imTypeIdOfObj); T case_ImVarargLoop(ImVarargLoop imVarargLoop); T case_ImAlloc(ImAlloc imAlloc); T case_ImStringVal(ImStringVal imStringVal); T case_ImCompiletimeExpr(ImCompiletimeExpr imCompiletimeExpr); T case_ImTupleExpr(ImTupleExpr imTupleExpr); T case_ImTypeVarDispatch(ImTypeVarDispatch imTypeVarDispatch); T case_ImTupleSelection(ImTupleSelection imTupleSelection); T case_ImMemberAccess(ImMemberAccess imMemberAccess); T case_ImIf(ImIf imIf); T case_ImRealVal(ImRealVal imRealVal); T case_ImNull(ImNull imNull); T case_ImCast(ImCast imCast); T case_ImStatementExpr(ImStatementExpr imStatementExpr); T case_ImReturn(ImReturn imReturn); T case_ImIntVal(ImIntVal imIntVal); } public interface MatcherVoid { void case_ImVarArrayAccess(ImVarArrayAccess imVarArrayAccess); void case_ImFuncRef(ImFuncRef imFuncRef); void case_ImTypeIdOfClass(ImTypeIdOfClass imTypeIdOfClass); void case_ImDealloc(ImDealloc imDealloc); void case_ImFunctionCall(ImFunctionCall imFunctionCall); void case_ImMethodCall(ImMethodCall imMethodCall); void case_ImOperatorCall(ImOperatorCall imOperatorCall); void case_ImExitwhen(ImExitwhen imExitwhen); void case_ImVarAccess(ImVarAccess imVarAccess); void case_ImBoolVal(ImBoolVal imBoolVal); void case_ImInstanceof(ImInstanceof imInstanceof); void case_ImGetStackTrace(ImGetStackTrace imGetStackTrace); void case_ImSet(ImSet imSet); void case_ImLoop(ImLoop imLoop); void case_ImTypeIdOfObj(ImTypeIdOfObj imTypeIdOfObj); void case_ImVarargLoop(ImVarargLoop imVarargLoop); void case_ImAlloc(ImAlloc imAlloc); void case_ImStringVal(ImStringVal imStringVal); void case_ImCompiletimeExpr(ImCompiletimeExpr imCompiletimeExpr); void case_ImTupleExpr(ImTupleExpr imTupleExpr); void case_ImTypeVarDispatch(ImTypeVarDispatch imTypeVarDispatch); void case_ImTupleSelection(ImTupleSelection imTupleSelection); void case_ImMemberAccess(ImMemberAccess imMemberAccess); void case_ImIf(ImIf imIf); void case_ImRealVal(ImRealVal imRealVal); void case_ImNull(ImNull imNull); void case_ImCast(ImCast imCast); void case_ImStatementExpr(ImStatementExpr imStatementExpr); void case_ImReturn(ImReturn imReturn); void case_ImIntVal(ImIntVal imIntVal); } ImStmt copy(); ImStmt copyWithRefs(); /** */ public abstract void print(java.lang.Appendable sb, int indent); /** */ public abstract String toString(); /** */ public abstract de.peeeq.wurstscript.translation.imtranslation.Flatten.Result flatten(de.peeeq.wurstscript.translation.imtranslation.ImTranslator translator, de.peeeq.wurstscript.jassIm.ImFunction f); /** */ public abstract de.peeeq.wurstscript.translation.imtranslation.purity.PurityLevel attrPurity(); /** */ public abstract void translate(java.util.List stmts, de.peeeq.wurstscript.jassAst.JassFunction f, de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator translator); /** */ public abstract ImFunction getNearestFunc(); /** */ public abstract void translateStmtToLua(java.util.List res, de.peeeq.wurstscript.translation.lua.translation.LuaTranslator tr); /** */ public abstract void runStatement(de.peeeq.wurstscript.intermediatelang.interpreter.ProgramState globalState, de.peeeq.wurstscript.intermediatelang.interpreter.LocalState localState); /** */ public abstract de.peeeq.wurstscript.ast.Element attrTrace(); /** */ public abstract ImProg attrProg(); }