Class: Eval03

Six~ Eval03

Example 6/03: adds actions to support multiplication and division.


new Eval03()

Source:

Extends

Methods


divide()

divide: '/' signed;

Source:

multiply()

multiply: '*' signed;

Source:

number()

number: Number;

Inherited From:
Source:

product()

product: signed [{ multiply | divide }];

Source:

signed()

signed: [ '-' ] term;

Inherited From:
Source:

sum()

sum: product [{ add | subtract }];

Inherited From:
Source:

term()

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

Inherited From:
Source: