public class IndyBinHelper
extends BinaryExpressionHelper
Binary-expression helper that routes prefix and postfix operations through the indy invocation path.
| Fields inherited from class | Fields |
|---|---|
class BinaryExpressionHelper |
controller |
| Constructor and description |
|---|
IndyBinHelper(WriterController wc)Creates an indy-aware binary-expression helper. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
evaluateCompoundAssign(String assignName, String baseName, BinaryExpression expression)GEP-15: emit invokedynamic to IndyInterface.bootstrap
with the CallType.COMPOUND_ASSIGN call type (resolved by
IndyCompoundAssign), replacing the uncached static call into
ScriptBytecodeAdapter.compoundAssign. |
|
protected void |
writePostOrPrefixMethod(int op, String method, Expression expression, Expression orig)* Emits the method call used to implement a prefix or postfix operation. * *
|
| Methods inherited from class | Name |
|---|---|
class BinaryExpressionHelper |
assignToArray, eval, evaluateArrayAssignmentWithOperator, evaluateBinaryExpression, evaluateBinaryExpressionWithAssignment, evaluateCompareExpression, evaluateCompoundAssign, evaluateElvisEqual, evaluateEqual, evaluatePostfixMethod, evaluatePrefixMethod, evaluateTernary, getController, getIsCaseMethod, writePostOrPrefixMethod |
Creates an indy-aware binary-expression helper.
GEP-15: emit invokedynamic to IndyInterface.bootstrap
with the CallType.COMPOUND_ASSIGN call type (resolved by
IndyCompoundAssign), replacing the uncached static call into
ScriptBytecodeAdapter.compoundAssign. Subscript LHS (e.g.
a[i] += b) is out of GEP-15 scope and stays on the legacy path.
* Emits the method call used to implement a prefix or postfix operation. * *
op - the token type
*method - the helper method name
*expression - the receiver expression
*orig - the original prefix/postfix expressionCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.