-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestwontfixThis will not be worked onThis will not be worked on
Description
Some languages may have rules like:
expression : logicalExpression (logicalOp logicalExpression)?
logicalExpression : relation (relationalOp relation)?
relation : term (addOp term)?
term : factor (multOp factor)?
factor : (unaryOp) primary
primary : instantiation | variable | functionCall | literal
instantiation : NEW ( namespaceIdentifier '.')? className
'(' (expression ( ',' expression ))? ')'
functionCall : identifier '(' (expression ( ',' expression))? ')'
How would you handle the instantaion or function call? We'd need to add customization so
these can be lexed/parsed as a primary element of the expression.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestwontfixThis will not be worked onThis will not be worked on