Package xscript.compiler.XTree

Examples of xscript.compiler.XTree.XConstant


      return makeGroup();
    case IDENT:
      return qualident();
    case FLOATLITERAL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.FLOATLITERAL, oldToken.param);
    case DOUBLELITERAL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.DOUBLELITERAL, oldToken.param);
    case LONGLITERAL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.LONGLITERAL, oldToken.param);
    case INTLITERAL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.INTLITERAL, oldToken.param);
    case CHARLITERAL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.CHARLITERAL, oldToken.param);
    case STRINGLITERAL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.STRINGLITERAL, oldToken.param);
    case TRUE:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.TRUE, oldToken.param);
    case FALSE:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.FALSE, oldToken.param);
    case NULL:
      nextToken();
      return new XConstant(oldToken.lineDesk, XTag.NULL, oldToken.param);
    case NEW:
      startLineBlock();
      nextToken();
      XIdent className = qualident();
      if(token.kind==XTokenKind.LINDEX){
View Full Code Here

TOP

Related Classes of xscript.compiler.XTree.XConstant

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.