public ExpressionStatementNode loadExpressionStmt(string path) { ExprNode expr = loadExpression(path + ".expr"); ExpressionStatementNode snode = new ExpressionStatementNode(expr); return(snode); }
public void saveExpressionStmt(string path, ExpressionStatementNode stmt) { oilcan.setStringValue(path + ".type", "expr-stmt"); saveExpression(path + ".expr", stmt.expr); }