xo-interpreter: rename: vsm .constant_op -> .eval_constant_op
This commit is contained in:
parent
c5c9441c1e
commit
f98d1345d3
2 changed files with 5 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ namespace xo {
|
|||
void execute_one();
|
||||
|
||||
/** interpret literal constant expression **/
|
||||
void constant_op();
|
||||
void eval_constant_op();
|
||||
|
||||
/** goto error state with message @p err **/
|
||||
void report_error(const std::string & err);
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ namespace xo {
|
|||
|
||||
switch (expr_->extype()) {
|
||||
case exprtype::constant:
|
||||
this->constant_op();
|
||||
this->eval_constant_op();
|
||||
break;
|
||||
|
||||
case exprtype::invalid:
|
||||
|
|
@ -169,7 +169,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
VirtualSchematikaMachine::constant_op()
|
||||
VirtualSchematikaMachine::eval_constant_op()
|
||||
{
|
||||
using xo::scm::ConstantInterface;
|
||||
|
||||
|
|
@ -213,6 +213,8 @@ namespace xo {
|
|||
/** remembers promised variable type **/
|
||||
env_->establish_var(expr->lhs_variable());
|
||||
|
||||
|
||||
|
||||
/* lhs_var
|
||||
* rhs
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue