Class ASTParameter
java.lang.Object
io.github.protasm.jvmud.compiler.parser.ast.ASTNode
io.github.protasm.jvmud.compiler.parser.ast.ASTParameter
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionASTParameter(int line, Symbol symbol) ASTParameter(int line, Symbol symbol, boolean varargs) Creates a parsed LPC parameter. -
Method Summary
Methods inherited from class ASTNode
accept, className, line, setSourceOrder, sourceOrder
-
Constructor Details
-
ASTParameter
-
ASTParameter
Creates a parsed LPC parameter.The
varargsflag records LDMud-style parameter-local optional/rest spelling such asvarargs mixed *data. JVMud currently preserves that source shape for compatibility analysis; call dispatch still uses the declared parameter type and arity.- Parameters:
line- source linesymbol- declared parameter symbolvarargs- whether the parameter was prefixed withvarargs
-
-
Method Details
-
symbol
-
isVarargs
public boolean isVarargs() -
descriptor
-