//generated by abstract-syntax-gen package de.peeeq.wurstscript.luaAst; import java.util.*; public interface LuaExprOpt extends Element{ Element getParent(); T match(Matcher s); void match(MatcherVoid s); public interface Matcher { T case_LuaExprRealVal(LuaExprRealVal luaExprRealVal); T case_LuaLiteral(LuaLiteral luaLiteral); T case_LuaExprFunctionCallE(LuaExprFunctionCallE luaExprFunctionCallE); T case_LuaNoExpr(LuaNoExpr luaNoExpr); T case_LuaExprFieldAccess(LuaExprFieldAccess luaExprFieldAccess); T case_LuaTableConstructor(LuaTableConstructor luaTableConstructor); T case_LuaExprVarAccess(LuaExprVarAccess luaExprVarAccess); T case_LuaExprFunctionAbstraction(LuaExprFunctionAbstraction luaExprFunctionAbstraction); T case_LuaExprFunctionCall(LuaExprFunctionCall luaExprFunctionCall); T case_LuaExprFuncRef(LuaExprFuncRef luaExprFuncRef); T case_LuaExprStringVal(LuaExprStringVal luaExprStringVal); T case_LuaExprNull(LuaExprNull luaExprNull); T case_LuaExprBinary(LuaExprBinary luaExprBinary); T case_LuaExprBoolVal(LuaExprBoolVal luaExprBoolVal); T case_LuaExprFunctionCallByName(LuaExprFunctionCallByName luaExprFunctionCallByName); T case_LuaExprMethodCall(LuaExprMethodCall luaExprMethodCall); T case_LuaExprIntVal(LuaExprIntVal luaExprIntVal); T case_LuaExprUnary(LuaExprUnary luaExprUnary); T case_LuaExprArrayAccess(LuaExprArrayAccess luaExprArrayAccess); } public interface MatcherVoid { void case_LuaExprRealVal(LuaExprRealVal luaExprRealVal); void case_LuaLiteral(LuaLiteral luaLiteral); void case_LuaExprFunctionCallE(LuaExprFunctionCallE luaExprFunctionCallE); void case_LuaNoExpr(LuaNoExpr luaNoExpr); void case_LuaExprFieldAccess(LuaExprFieldAccess luaExprFieldAccess); void case_LuaTableConstructor(LuaTableConstructor luaTableConstructor); void case_LuaExprVarAccess(LuaExprVarAccess luaExprVarAccess); void case_LuaExprFunctionAbstraction(LuaExprFunctionAbstraction luaExprFunctionAbstraction); void case_LuaExprFunctionCall(LuaExprFunctionCall luaExprFunctionCall); void case_LuaExprFuncRef(LuaExprFuncRef luaExprFuncRef); void case_LuaExprStringVal(LuaExprStringVal luaExprStringVal); void case_LuaExprNull(LuaExprNull luaExprNull); void case_LuaExprBinary(LuaExprBinary luaExprBinary); void case_LuaExprBoolVal(LuaExprBoolVal luaExprBoolVal); void case_LuaExprFunctionCallByName(LuaExprFunctionCallByName luaExprFunctionCallByName); void case_LuaExprMethodCall(LuaExprMethodCall luaExprMethodCall); void case_LuaExprIntVal(LuaExprIntVal luaExprIntVal); void case_LuaExprUnary(LuaExprUnary luaExprUnary); void case_LuaExprArrayAccess(LuaExprArrayAccess luaExprArrayAccess); } LuaExprOpt copy(); LuaExprOpt copyWithRefs(); /** */ public abstract void print(StringBuilder sb, int indent); }