public static final class PProduction.ActualExpr extends Object
The expression is characterized by its head symbol and its possibly empty list of sub-expressions, which act as effective parameters to the head symbol.
Expression leaves are terminals, rule parameters, and non-parameterized non-terminals.
Modifier and Type | Field and Description |
---|---|
List<PProduction.ActualExpr> |
params
The (possibly empty) list of actual items which
should be passed as
symb 's parameters. |
Located<String> |
symb
The name of the production item, i.e. either
the name of a non-terminal or a terminal of the
grammar, depending on whether the identifier starts
with a lowercase or uppercase character.
|
Constructor and Description |
---|
ActualExpr(Located<String> symb,
List<PProduction.ActualExpr> params)
Returns an actual expression made of applying
symb to the actuals given in params |
public final Located<String> symb
public final List<PProduction.ActualExpr> params
public ActualExpr(Located<String> symb, List<PProduction.ActualExpr> params)
symb
to the actuals given in params
symb
- params
-