parser: remove need to type cast from DDToken to DDSymbol in parser

Signed-off-by: Peter Williams <pwil3058@gmail.com>
parser: change design for setting toke attributes and implement it.

Signed-off-by: Peter Williams <pwil3058@gmail.com>
parser: generate semantic action code

Signed-off-by: Peter Williams <pwil3058@gmail.com>