//generated by abstract-syntax-gen package de.peeeq.wurstscript.jassIm; import java.util.*; public interface ImClassRelatedExpr extends ImExpr, Element{ Element getParent(); T match(Matcher s); void match(MatcherVoid s); public interface Matcher { T case_ImInstanceof(ImInstanceof imInstanceof); T case_ImTypeIdOfClass(ImTypeIdOfClass imTypeIdOfClass); T case_ImMemberAccess(ImMemberAccess imMemberAccess); T case_ImDealloc(ImDealloc imDealloc); T case_ImTypeIdOfObj(ImTypeIdOfObj imTypeIdOfObj); T case_ImAlloc(ImAlloc imAlloc); T case_ImMethodCall(ImMethodCall imMethodCall); } public interface MatcherVoid { void case_ImInstanceof(ImInstanceof imInstanceof); void case_ImTypeIdOfClass(ImTypeIdOfClass imTypeIdOfClass); void case_ImMemberAccess(ImMemberAccess imMemberAccess); void case_ImDealloc(ImDealloc imDealloc); void case_ImTypeIdOfObj(ImTypeIdOfObj imTypeIdOfObj); void case_ImAlloc(ImAlloc imAlloc); void case_ImMethodCall(ImMethodCall imMethodCall); } ImClassRelatedExpr copy(); ImClassRelatedExpr 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(); }