//generated by abstract-syntax-gen package de.peeeq.wurstscript.jassIm; import java.util.*; public interface ImExpr extends ImExprOpt, ImStmt, Element{ Element getParent(); T match(Matcher s); void match(MatcherVoid s); public interface Matcher { T case_ImBoolVal(ImBoolVal imBoolVal); T case_ImVarArrayAccess(ImVarArrayAccess imVarArrayAccess); T case_ImInstanceof(ImInstanceof imInstanceof); T case_ImFuncRef(ImFuncRef imFuncRef); T case_ImTypeIdOfClass(ImTypeIdOfClass imTypeIdOfClass); T case_ImGetStackTrace(ImGetStackTrace imGetStackTrace); T case_ImDealloc(ImDealloc imDealloc); T case_ImTypeIdOfObj(ImTypeIdOfObj imTypeIdOfObj); T case_ImAlloc(ImAlloc imAlloc); T case_ImFunctionCall(ImFunctionCall imFunctionCall); T case_ImMethodCall(ImMethodCall imMethodCall); T case_ImStringVal(ImStringVal imStringVal); T case_ImCompiletimeExpr(ImCompiletimeExpr imCompiletimeExpr); T case_ImTupleExpr(ImTupleExpr imTupleExpr); T case_ImTypeVarDispatch(ImTypeVarDispatch imTypeVarDispatch); T case_ImOperatorCall(ImOperatorCall imOperatorCall); T case_ImTupleSelection(ImTupleSelection imTupleSelection); T case_ImMemberAccess(ImMemberAccess imMemberAccess); T case_ImRealVal(ImRealVal imRealVal); T case_ImNull(ImNull imNull); T case_ImCast(ImCast imCast); T case_ImStatementExpr(ImStatementExpr imStatementExpr); T case_ImVarAccess(ImVarAccess imVarAccess); T case_ImIntVal(ImIntVal imIntVal); } public interface MatcherVoid { void case_ImBoolVal(ImBoolVal imBoolVal); void case_ImVarArrayAccess(ImVarArrayAccess imVarArrayAccess); void case_ImInstanceof(ImInstanceof imInstanceof); void case_ImFuncRef(ImFuncRef imFuncRef); void case_ImTypeIdOfClass(ImTypeIdOfClass imTypeIdOfClass); void case_ImGetStackTrace(ImGetStackTrace imGetStackTrace); void case_ImDealloc(ImDealloc imDealloc); void case_ImTypeIdOfObj(ImTypeIdOfObj imTypeIdOfObj); void case_ImAlloc(ImAlloc imAlloc); void case_ImFunctionCall(ImFunctionCall imFunctionCall); void case_ImMethodCall(ImMethodCall imMethodCall); void case_ImStringVal(ImStringVal imStringVal); void case_ImCompiletimeExpr(ImCompiletimeExpr imCompiletimeExpr); void case_ImTupleExpr(ImTupleExpr imTupleExpr); void case_ImTypeVarDispatch(ImTypeVarDispatch imTypeVarDispatch); void case_ImOperatorCall(ImOperatorCall imOperatorCall); void case_ImTupleSelection(ImTupleSelection imTupleSelection); void case_ImMemberAccess(ImMemberAccess imMemberAccess); void case_ImRealVal(ImRealVal imRealVal); void case_ImNull(ImNull imNull); void case_ImCast(ImCast imCast); void case_ImStatementExpr(ImStatementExpr imStatementExpr); void case_ImVarAccess(ImVarAccess imVarAccess); void case_ImIntVal(ImIntVal imIntVal); } ImExpr copy(); ImExpr 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 de.peeeq.wurstscript.jassAst.JassExpr translate(de.peeeq.wurstscript.translation.imtojass.ImToJassTranslator translator); /** */ public abstract ImType attrTyp(); /** */ public abstract ImFunction getNearestFunc(); /** */ public abstract void translateStmtToLua(java.util.List res, de.peeeq.wurstscript.translation.lua.translation.LuaTranslator tr); /** */ public abstract de.peeeq.wurstscript.luaAst.LuaExpr translateToLua(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.intermediatelang.ILconst evaluate(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(); }