Examples of Module()


Examples of avrora.syntax.atmel.AtmelParser.Module()

        try {
            modulePrinter.println("includeFile(" + fname.image + ')');
            String fn = StringUtil.trimquotes(fname.image);
            AtmelParser parser = new AtmelParser(new FileInputStream(fn), this, fn);
            // TODO: handle infinite include recursion possibility
            parser.Module();
        } catch (FileNotFoundException e) {
            ERROR.IncludeFileNotFound(fname);
        }
    }
View Full Code Here

Examples of com.alibaba.dubbo.config.annotation.Service.module()

                    serviceConfig.setMonitor((MonitorConfig)applicationContext.getBean(service.monitor(), MonitorConfig.class));
                }
                if (service.application() != null && service.application().length() > 0) {
                    serviceConfig.setApplication((ApplicationConfig)applicationContext.getBean(service.application(), ApplicationConfig.class));
                }
                if (service.module() != null && service.module().length() > 0) {
                    serviceConfig.setModule((ModuleConfig)applicationContext.getBean(service.module(), ModuleConfig.class));
                }
                if (service.provider() != null && service.provider().length() > 0) {
                    serviceConfig.setProvider((ProviderConfig)applicationContext.getBean(service.provider(), ProviderConfig.class));
                } else {
View Full Code Here

Examples of com.netflix.governator.guice.annotations.Bootstrap.module()

                              .asEagerSingleton();
                          // Make this annotation injectable into any plain Module
                          builder.withAdditionalBootstrapModules(forAnnotation(annot));
                      }
                      // This is a plain guice module
                      if (!bootstrap.module().equals(Bootstrap.NullModule.class)) {
                        Preconditions.checkState(added==false, bootstrap.annotationType().getName() + " already added as a BootstrapModule");
                        added = true;
                            LOG.info("Adding Module {}", bootstrap.bootstrap());
                          builder.withAdditionalModuleClasses(bootstrap.module());
                          // Make the annotation injectable into the module
View Full Code Here

Examples of com.netflix.governator.guice.annotations.Bootstrap.module()

                      // This is a plain guice module
                      if (!bootstrap.module().equals(Bootstrap.NullModule.class)) {
                        Preconditions.checkState(added==false, bootstrap.annotationType().getName() + " already added as a BootstrapModule");
                        added = true;
                            LOG.info("Adding Module {}", bootstrap.bootstrap());
                          builder.withAdditionalModuleClasses(bootstrap.module());
                          // Make the annotation injectable into the module
                          builder.withAdditionalBootstrapModules(forAnnotation(annot));
                      }
                           
                        // Makes the annotation injectable into LifecycleInjectorBuilderSuite
View Full Code Here

Examples of com.sun.tools.corba.se.idl.PrimitiveEntry.module()

    symbolTable.put ("org/omg/CORBA/Object", object);

    // <d61961> Add PIDL type (primitive) CORBA::TypeCode to symbol table.
    PrimitiveEntry pEntry = factory.primitiveEntry ();
    pEntry.name ("TypeCode");
    pEntry.module ("org/omg/CORBA");
    pEntry.container (corba);
    symbolTable.put ("org/omg/CORBA/TypeCode", pEntry);
    symbolTable.put ("CORBA/TypeCode", pEntry);                      // <d55699>
    overrideNames.put ("CORBA/TypeCode", "org/omg/CORBA/TypeCode")// <d55699>
    overrideNames.put ("org/omg/CORBA/TypeCode", "CORBA/TypeCode")// <d55699>
View Full Code Here

Examples of com.sun.tools.corba.se.idl.SymtabEntry.module()

      // For each type that is at the top level that is NOT a module
      // or IncludeEntry, add it to the imports list.  If there are
      // types within modules which refer to these, their types must
      // be explicitly stated in an import statement.
      if (element.module ().equals ("") && !(element instanceof ModuleEntry || element instanceof IncludeEntry || element instanceof PrimitiveEntry))
        importTypes.addElement (element);
    }

    while (emitList.hasMoreElements ())
    {
View Full Code Here

Examples of de.fu_berlin.inf.dpp.annotations.Component.module()

            if (c == null) {
                log.debug("Injected component with no @Component annotation: "
                    + u.getSimpleName());
                return Component.DEFAULT_MODULE;
            } else {
                return c.module();
            }
        }
    }

    private static final class Instantiation {
View Full Code Here

Examples of imp.parser.antlr.HaxeParser.module()

    public static HaxeTree parseFileContents(final CommonTokenStream tokenStream)
            throws RecognitionException
    {
        HaxeParser parser = new HaxeParser(tokenStream);
        parser.setTreeAdaptor(new HaxeTreeAdaptor());
        HaxeParser.module_return parserResult = parser.module();
        return (HaxeTree) parserResult.getTree();
    }
   
    private static HaxeTree parseFileContents(final HaxeLexer lexer)
            throws RecognitionException
View Full Code Here

Examples of imp.parser.antlr.HaxeParser.module()

    return parser;
 

  public static HaxeTree parseHaxeFile(final String filename) throws RecognitionException {
    HaxeParser parser = createHaxeParser(pathToTests + filename);
    HaxeParser.module_return parserResult = parser.module();
    assertEquals(0, parser.getNumberOfSyntaxErrors());
    return (HaxeTree) parserResult.getTree();
  }

  public static HaxeParser createHaxeParser(final InputStream input) throws RecognitionException {
View Full Code Here

Examples of imp.parser.antlr.HaxeParser.module()

    } catch (UnsupportedEncodingException e) {
      e.printStackTrace();
      Assert.fail("UnsupportedEncodingException");
    }
    HaxeParser parser = createHaxeParser(is);
    HaxeParser.module_return parserResult = parser.module();
    assertEquals(0, parser.getNumberOfSyntaxErrors());
    Assert.assertNotNull(parserResult.getTree());
    return (HaxeTree) parserResult.getTree();
  }
 
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.