orc.ast.extended.expression
Interface Expression.Arg

Enclosing class:
Expression

public static interface Expression.Arg

Variant type returned by the argify method.


Method Summary
 Argument asArg()
          Extracts the Argument component of the Arg.
 Expression bind(Expression e)
          Wraps a binder around the given expression if needed.
 

Method Detail

asArg

Argument asArg()
Extracts the Argument component of the Arg.

Returns:
A simplified argument

bind

Expression bind(Expression e)
Wraps a binder around the given expression if needed.

Parameters:
e - The target for the binder
Returns:
The wrapped expression