//generated by abstract-syntax-gen package de.peeeq.wurstscript.jassIm; import java.util.*; public interface ImConst extends ImExpr, Element{ Element getParent(); T match(Matcher s); void match(MatcherVoid s); public interface Matcher { T case_ImBoolVal(ImBoolVal imBoolVal); T case_ImRealVal(ImRealVal imRealVal); T case_ImNull(ImNull imNull); T case_ImFuncRef(ImFuncRef imFuncRef); T case_ImStringVal(ImStringVal imStringVal); T case_ImIntVal(ImIntVal imIntVal); } public interface MatcherVoid { void case_ImBoolVal(ImBoolVal imBoolVal); void case_ImRealVal(ImRealVal imRealVal); void case_ImNull(ImNull imNull); void case_ImFuncRef(ImFuncRef imFuncRef); void case_ImStringVal(ImStringVal imStringVal); void case_ImIntVal(ImIntVal imIntVal); } ImConst copy(); ImConst 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 boolean equalValue(ImConst other); /** */ 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(); }