Class ImplicitSelfCallTranspiler
java.lang.Object
io.github.protasm.jvmud.language.transpiler.ImplicitSelfCallTranspiler
Translates an unknown bare call to an ordinary dynamic invocation on the current LPC object.
Unlike declaration normalization this transformation runs during name resolution, after inherited
methods, global helpers and engine functions are known. The caller must establish that the name
is undeclared and that the independent manifest switch is enabled. No prototype or implementation
is invented: results are mixed and missing methods fail at execution rather than silently returning zero.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontranspile(ASTExprUnresolvedCall call, ASTArguments arguments, RuntimeContext context) Preserves the call's source line and already-resolved argument expressions.
-
Constructor Details
-
ImplicitSelfCallTranspiler
public ImplicitSelfCallTranspiler()
-
-
Method Details
-
transpile
public ASTExpression transpile(ASTExprUnresolvedCall call, ASTArguments arguments, RuntimeContext context) Preserves the call's source line and already-resolved argument expressions.
-