Examples of Namespace


Examples of anvil.script.Namespace

  public Type lookupDeclaration(String name)
  {
    Type type = (Type)_types.get(name);
    if (type == null) {
      Namespace ns = _address.getZone().getNamespace(name);
      if (ns != null) {
        type = new NamespaceBase(this, name, ns, null);
      }
    }
    return type;
View Full Code Here

Examples of bsh.NameSpace

            o = bsh.eval(expression);
            if (Debug.verboseOn())
                Debug.logVerbose("Evaluated to -- " + o, module);

            // read back the context info
            NameSpace ns = bsh.getNameSpace();
            String[] varNames = ns.getVariableNames();
            for (String varName: varNames) {
                context.put(varName, bsh.get(varName));
            }
        } catch (EvalError e) {
            Debug.logError(e, "BSH Evaluation error.", module);
View Full Code Here

Examples of clojure.lang.Namespace

    {
      final Set<Entry<String, Object>> entrySet = bindings.entrySet();
      for (final Entry<String, Object> entry : entrySet)
      {
        final Symbol symbol = Symbol.intern(entry.getKey());
        final Namespace userNs = Namespace.findOrCreate(Symbol.create("user".intern()));
        final Var var = Var.intern(userNs, symbol);
        var.setDynamic(true);
        mappings = mappings.assoc(var, entry.getValue());
      }
    }
View Full Code Here

Examples of com.basho.riak.client.core.query.Namespace

        @Override
        public Namespace next()
        {
            BinaryValue bucket = iterator.next();
            return new Namespace(type, bucket);
        }
View Full Code Here

Examples of com.corundumstudio.socketio.namespace.Namespace

    public BroadcastOperations(Iterable<SocketIOClient> clients, StoreFactory storeFactory) {
        super();
        this.clients = clients;
        for (SocketIOClient socketIOClient : clients) {
            Namespace namespace = (Namespace)socketIOClient.getNamespace();
            Set<String> rooms = namespace.getRooms(socketIOClient);

            List<String> roomsList = namespaceRooms.get(namespace.getName());
            if (roomsList == null) {
                roomsList = new ArrayList<String>();
                namespaceRooms.put(namespace.getName(), roomsList);
            }
            roomsList.addAll(rooms);
        }
        this.storeFactory = storeFactory;
    }
View Full Code Here

Examples of com.dubture.getcomposer.core.objects.Namespace

  }

  protected void addComposerJson(IProgressMonitor monitor) throws CoreException {

    IFile file = getProject().getFile(com.dubture.getcomposer.core.ComposerConstants.COMPOSER_JSON);
    Namespace ns = firstPage.getPackage().getAutoload().getPsr4().getFirst();

    if (ns != null) {
//      if (ns.getNamespace().contains("\\")) {
//        String[] split = ns.getNamespace().split("\\\\");
//        IPath path = new Path(com.dubture.composer.core.ComposerPluginConstants.DEFAULT_SRC_FOLDER);
View Full Code Here

Examples of com.google.dart.engine.internal.scope.Namespace

    Source source = library.getDefiningCompilationUnit().getSource();
    DartEntry dartEntry = getReadableDartEntry(source);
    if (dartEntry == null) {
      return null;
    }
    Namespace namespace = null;
    if (dartEntry.getValue(DartEntry.ELEMENT) == library) {
      namespace = dartEntry.getValue(DartEntry.PUBLIC_NAMESPACE);
    }
    if (namespace == null) {
      NamespaceBuilder builder = new NamespaceBuilder();
View Full Code Here

Examples of com.google.gxp.compiler.parser.Namespace

    assertNotEqual(pos1.getLine(), pos2.getLine());
    assertNotEqual(pos1.getColumn(), pos2.getColumn());
  }

  public void testAttr() throws Exception {
    Namespace namespace = NullNamespace.INSTANCE;
    String name = "foo";
    String value = "bar";

    ParsedAttribute result = parsedAttr(namespace, name, value);
View Full Code Here

Examples of com.google.gxp.compiler.parser.Namespace

  /**
   * Converts a {@code ParsedAttribute} into an {@code Attribute}.
   */
  private static Attribute convertAttribute(final AlertSink alertSink,
                                            final ParsedAttribute parsedAttr) {
    Namespace namespace = parsedAttr.getNamespace();
    return namespace.acceptVisitor(
        new NamespaceVisitor<Attribute>() {
          private Attribute defaultVisitNamespace(Namespace ns) {
            return new Attribute(parsedAttr, ns, parsedAttr.getName(),
                                 new StringConstant(parsedAttr, null, parsedAttr.getValue()));
          }
View Full Code Here

Examples of com.google.gxp.compiler.parser.Namespace

    List<Attribute> result = Lists.newArrayList();
    Set<String> usedLocalNames = Sets.newHashSet();

    for (AttributeName attrName : namesToAttrs.keySet()) {
      if (!used.contains(attrName)) {
        Namespace ns = attrName.getNamespace();
        String localName = attrName.getLocalName();
        if (!(ns instanceof OutputLanguageNamespace) && !(ns instanceof NullNamespace)) {
          used.add(attrName);
          result.add(namesToAttrs.get(attrName));
        } else if (!usedLocalNames.contains(localName)) {
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.