Package loop.ast.script

Examples of loop.ast.script.ModuleDecl


   */
  @Override
  public Unit script(String file) {
    chewEols();

    ModuleDecl module = module();
    if (null == module)
      module = ModuleDecl.DEFAULT;

    chewEols();

View Full Code Here


    if (match(Token.Kind.EOL) == null) {
      addError("Expected newline after module declaration", tokens.get(i - 1));
      throw new LoopCompileException();
    }

    return new ModuleDecl(modules).sourceLocation(module);
  }
View Full Code Here

TOP

Related Classes of loop.ast.script.ModuleDecl

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.