Class ReachedByExpression
java.lang.Object
org.ek9lang.compiler.support.sharing.ReachedByExpression
- All Implemented Interfaces:
BiConsumer<EK9Parser.ExpressionContext, ReachSoFar>
final class ReachedByExpression
extends Object
implements BiConsumer<EK9Parser.ExpressionContext, ReachSoFar>
The objects an expression given to a call (or written into an object, or iterated) gives it: a name,
this,
what a call that makes one, a list, a Dict, a coalescing operator or a ternary holds; any other expression builds a
new value from its operands. arguments(ParseTree, ReachSoFar) is the same over an argument list.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(EK9Parser.ExpressionContext expression, ReachSoFar reach) (package private) voidarguments(org.antlr.v4.runtime.tree.ParseTree node, ReachSoFar reach) The objects the arguments of a call (or the arguments inside a call that makes one) give it.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
ReachedByExpression
ReachedByExpression()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<EK9Parser.ExpressionContext, ReachSoFar>
-
arguments
The objects the arguments of a call (or the arguments inside a call that makes one) give it.
-