Class: Eval04

Six~ Eval04

Example 6/04: adds actions to support lists of numerical expressions.


new Eval04()

Source:

Extends

Methods


add()

add: '+' product;

Source:

divide()

divide: '/' signed;

Inherited From:
Source:

list()

list: sum [{ ',' sum }];

Source:

multiply()

multiply: '*' signed;

Inherited From:
Source:

number()

number: Number;

Inherited From:
Source:

product()

product: signed [{ multiply | divide }];

Inherited From:
Source:

signed()

signed: [ '-' ] term;

Inherited From:
Source:

subtract()

subtract: '-' product;

Source:

sum()

sum: product [{ add | subtract }];

Overrides:
Source:

term()

term: number | '(' sum ')';

Inherited From:
Source: