Package com.google.minijoe.compiler.ast

Examples of com.google.minijoe.compiler.ast.StringLiteral


        new ExpressionStatement(
            new CallExpression(
                new Identifier("thing"),
                new Expression[] {
                  new NumberLiteral(1.0),
                  new StringLiteral("hatstand")
                }
            )
        ),
        "thing(1.0, 'hatstand');"
    );
View Full Code Here


                            new Expression[] {
                              new Identifier("String"),
                              new NumberLiteral(2.0)
                            }
                        ),
                        new StringLiteral("bar")
                    ),
                    new Expression[] {
                      new NumberLiteral(42)
                    }
                ),
                new StringLiteral("baz")
            )
        ),
        "new new foo(String, 2).bar(42).baz;"
    );
  }
View Full Code Here

TOP

Related Classes of com.google.minijoe.compiler.ast.StringLiteral

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.