Package xscript.compiler.XTree

Examples of xscript.compiler.XTree.XClassDecl


        superClasses.addAll(makeTypeList(XTokenKind.COMMA));
      }
    }
    XLineDesk line = endLineBlock();
    List<XTree> body = classAndInterfaceBody(false, name);
    return new XClassDecl(line, modifier, name, typeParam, superClasses, body);
  }
View Full Code Here


      parserMessage(XMessageLevel.INFO, "newextends");
      superClasses = makeTypeList(XTokenKind.COMMA);
    }
    XLineDesk line = endLineBlock();
    List<XTree> body = classAndInterfaceBody(true, name);
    return new XClassDecl(line, modifier, name, typeParam, superClasses, body);
  }
View Full Code Here

      parserMessage(XMessageLevel.INFO, "newextends");
      superClasses.addAll(makeTypeList(XTokenKind.COMMA));
    }
    XLineDesk line = endLineBlock();
    List<XTree> body = enumBody(name);
    return new XClassDecl(line, modifier, name, null, superClasses, body);
  }
View Full Code Here

    startLineBlock();
    expected(XTokenKind.ANNOTATION);
    String name = ident();
    XLineDesk line = endLineBlock();
    List<XTree> body = annotationBody(name);
    return new XClassDecl(line, modifier, name, null, new ArrayList<XTree.XType>(), body);
  }
View Full Code Here

TOP

Related Classes of xscript.compiler.XTree.XClassDecl

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.