Examples of ThisLiteral


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

  }

  private Expression parsePrimaryExpression() throws CompilerException {
    if (nextToken == Token.KEYWORD_THIS) {
      readToken(Token.KEYWORD_THIS);
      return new ThisLiteral();

    } else if (nextToken == Token.KEYWORD_NULL) {
      readToken(Token.KEYWORD_NULL);
      return new NullLiteral();
View Full Code Here

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

  }

  public void testThisExpression() throws CompilerException {
    assertParserOutput(
        new ExpressionStatement(
            new ThisLiteral()
        ),
        "this;"
    );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.