Package anvil.script

Examples of anvil.script.Imported


  protected void addExternal(String name, Type type)
  {
    if (_externals == null) {
      _externals = new HashMap();
    }
    _externals.put(name, new Imported(getModuleStatement(), name, type));
  }
View Full Code Here



  protected Type followImports(ErrorListener listener, Type type)
  {
    while(type.getType() == Type.IMPORT) {
      Imported imported = (Imported)type;
      if (imported.getModule() != _script) {
        listener.error(_location, "Attempting to refer to '"+imported+"' in another module");
        return null;
      }
      type = imported.getPointedType();
    }
    return type;
  }
View Full Code Here

TOP

Related Classes of anvil.script.Imported

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.