Implemented ternary operators.
Added symbol pseudo-type.