MysoreScript
|
A parameter list for a closure declaration. More...
#include <ast.hh>
Public Attributes | |
ASTList< Identifier > | arguments |
The arguments in this parameter list. More... | |
A parameter list for a closure declaration.
This contains list of identifiers, one for each parameters.
This class exists to simplify automatic AST building: Pegmatite will pop all identifiers that are within the range of the of the parameter list as described in the grammar when constructing this class. If the ASTList<Identifier>
were just within the ClosureDecl
then it would also pop the closure name onto the stack.
ASTList<Identifier> AST::ParamList::arguments |