27 void Literal::construct(
const pegmatite::InputRange &r,
28 pegmatite::ASTStack &st)
30 std::stringstream stream;
37 void LocalRegister::construct(
const pegmatite::InputRange &r,
38 pegmatite::ASTStack &st)
43 void GlobalRegister::construct(
const pegmatite::InputRange &r,
44 pegmatite::ASTStack &st)
49 void Op::construct(
const pegmatite::InputRange &r,
50 pegmatite::ASTStack &st)
53 if (++r.begin() == r.end())
57 case '=': op = Assign ;
break;
58 case '+': op = Add ;
break;
59 case '-': op = Sub ;
break;
60 case '*': op = Mul ;
break;
61 case '/': op = Div ;
break;
66 if (*(++r.begin()) ==
'a')
uint16_t value
The value for this literal.
int registerNumber
The number of the global register that this references.
int registerNumber
The number of the local register that this references.