Class SinglePropertyMemberAccessRuntime
java.lang.Object
gw.internal.gosu.parser.optimizer.SinglePropertyMemberAccessRuntime
- All Implemented Interfaces:
IExpressionRuntime
Note this class really isn't an "expression runtime", it's real purpose is
to determine whether or not the corresponding member-access is in the lhs
of an assignment. This info can be useful to decide if null values in the
member path can be auto-assigned (see the gw.lang.Autocreate annotation)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate()
static boolean
isConvertible
(MemberAccess memberAccess) boolean
-
Field Details
-
_bNestedInLhs
private boolean _bNestedInLhs
-
-
Constructor Details
-
SinglePropertyMemberAccessRuntime
-
-
Method Details
-
isConvertible
-
evaluate
- Specified by:
evaluate
in interfaceIExpressionRuntime
-
isNestedInLhs
public boolean isNestedInLhs()
-