# Syntax Diagram for Egg extended with OOP

program

expression EOF

expression

STRING optProperties NUMBER optProperties bracketExp optProperties curlyExp optProperties WORD applies

applies

calls properties null

calls

parenExp applies

properties

bracketExp applies selector applies

parenExp

"(" commaExp ")"

bracketExp

"[" commaExp "]"

curlyExp

"{" commaExp "}"

selector

"." WORD "." NUMBER

commaExp

null expression "," expression

optProperties

null properties
Last Updated: 10 months ago