//generated by abstract-syntax-gen package de.peeeq.wurstscript.luaAst; import java.util.*; public interface LuaStatement extends Element{ Element getParent(); T match(Matcher s); void match(MatcherVoid s); public interface Matcher { T case_LuaExprRealVal(LuaExprRealVal luaExprRealVal); T case_LuaWhile(LuaWhile luaWhile); T case_LuaReturn(LuaReturn luaReturn); T case_LuaExprFieldAccess(LuaExprFieldAccess luaExprFieldAccess); T case_LuaAssignment(LuaAssignment luaAssignment); T case_LuaExprVarAccess(LuaExprVarAccess luaExprVarAccess); T case_LuaExprFunctionAbstraction(LuaExprFunctionAbstraction luaExprFunctionAbstraction); T case_LuaExprBinary(LuaExprBinary luaExprBinary); T case_LuaFunction(LuaFunction luaFunction); T case_LuaExprFunctionCallByName(LuaExprFunctionCallByName luaExprFunctionCallByName); T case_LuaMethod(LuaMethod luaMethod); T case_LuaExprMethodCall(LuaExprMethodCall luaExprMethodCall); T case_LuaVariable(LuaVariable luaVariable); T case_LuaExprIntVal(LuaExprIntVal luaExprIntVal); T case_LuaExprArrayAccess(LuaExprArrayAccess luaExprArrayAccess); T case_LuaLiteral(LuaLiteral luaLiteral); T case_LuaBreak(LuaBreak luaBreak); T case_LuaExprFunctionCallE(LuaExprFunctionCallE luaExprFunctionCallE); T case_LuaTableConstructor(LuaTableConstructor luaTableConstructor); T case_LuaExprFunctionCall(LuaExprFunctionCall luaExprFunctionCall); T case_LuaExprFuncRef(LuaExprFuncRef luaExprFuncRef); T case_LuaExprStringVal(LuaExprStringVal luaExprStringVal); T case_LuaExprNull(LuaExprNull luaExprNull); T case_LuaExprBoolVal(LuaExprBoolVal luaExprBoolVal); T case_LuaIf(LuaIf luaIf); T case_LuaExprUnary(LuaExprUnary luaExprUnary); } public interface MatcherVoid { void case_LuaExprRealVal(LuaExprRealVal luaExprRealVal); void case_LuaWhile(LuaWhile luaWhile); void case_LuaReturn(LuaReturn luaReturn); void case_LuaExprFieldAccess(LuaExprFieldAccess luaExprFieldAccess); void case_LuaAssignment(LuaAssignment luaAssignment); void case_LuaExprVarAccess(LuaExprVarAccess luaExprVarAccess); void case_LuaExprFunctionAbstraction(LuaExprFunctionAbstraction luaExprFunctionAbstraction); void case_LuaExprBinary(LuaExprBinary luaExprBinary); void case_LuaFunction(LuaFunction luaFunction); void case_LuaExprFunctionCallByName(LuaExprFunctionCallByName luaExprFunctionCallByName); void case_LuaMethod(LuaMethod luaMethod); void case_LuaExprMethodCall(LuaExprMethodCall luaExprMethodCall); void case_LuaVariable(LuaVariable luaVariable); void case_LuaExprIntVal(LuaExprIntVal luaExprIntVal); void case_LuaExprArrayAccess(LuaExprArrayAccess luaExprArrayAccess); void case_LuaLiteral(LuaLiteral luaLiteral); void case_LuaBreak(LuaBreak luaBreak); void case_LuaExprFunctionCallE(LuaExprFunctionCallE luaExprFunctionCallE); void case_LuaTableConstructor(LuaTableConstructor luaTableConstructor); void case_LuaExprFunctionCall(LuaExprFunctionCall luaExprFunctionCall); void case_LuaExprFuncRef(LuaExprFuncRef luaExprFuncRef); void case_LuaExprStringVal(LuaExprStringVal luaExprStringVal); void case_LuaExprNull(LuaExprNull luaExprNull); void case_LuaExprBoolVal(LuaExprBoolVal luaExprBoolVal); void case_LuaIf(LuaIf luaIf); void case_LuaExprUnary(LuaExprUnary luaExprUnary); } LuaStatement copy(); LuaStatement copyWithRefs(); /** */ public abstract void print(StringBuilder sb, int indent); }