Beispiel #1
0
        public ExpressionStatementNode loadExpressionStmt(string path)
        {
            ExprNode expr = loadExpression(path + ".expr");
            ExpressionStatementNode snode = new ExpressionStatementNode(expr);

            return(snode);
        }
Beispiel #2
0
 public void saveExpressionStmt(string path, ExpressionStatementNode stmt)
 {
     oilcan.setStringValue(path + ".type", "expr-stmt");
     saveExpression(path + ".expr", stmt.expr);
 }