Examples of analyze()


Examples of org.antlr.grammar.v3.ActionAnalysis.analyze()

      List<GrammarAST> actions = r.getInlineActions();
      for (int i = 0; i < actions.size(); i++) {
        GrammarAST actionAST = actions.get(i);
        ActionAnalysis sniffer =
          new ActionAnalysis(this, r.name, actionAST);
        sniffer.analyze();
      }
      // walk any named actions like @init, @after
      Collection<? extends Object> namedActions = r.getActions().values();
      for (Object namedAction : namedActions) {
        GrammarAST actionAST = (GrammarAST)namedAction;
View Full Code Here

Examples of org.antlr.works.grammar.antlr.ANTLRGrammarEngine.analyze()

        for(int index = start; index < end; index++) {
            lineIndexes.add(window.getTextEditor().getLineIndexAtTextPosition(index));
        }

        ANTLRGrammarEngine antlrEngineGrammar = window.getGrammarEngine().getANTLRGrammarEngine();
        antlrEngineGrammar.analyze();
        discoveredLexerGrammar = antlrEngineGrammar.getLexerGrammar();
        discoveredParserGrammar = antlrEngineGrammar.getParserGrammar();

        decisionDFA.clear();
        usesSynPreds.clear();
View Full Code Here

Examples of org.apache.flex.compiler.internal.tree.as.metadata.MetaTagsNode.analyze()

        contentsNode.analyze(set, scope, problems);

        // Recurse on the class metadata.
        MetaTagsNode metadata = getMetaTagsNode();
        if (metadata != null)
            metadata.analyze(set, scope, problems);

        if (set.contains(PostProcessStep.POPULATE_SCOPE))
        {
            // Look for a constructor, or add one if we can't find one
            setupConstructor(set, scope, problems);
View Full Code Here

Examples of org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze()

      if (hookName != null) {
        AbstractSemanticAnalyzerHook hook = HiveUtils.getSemanticAnalyzerHook(conf, hookName);
        HiveSemanticAnalyzerHookContext hookCtx = new HiveSemanticAnalyzerHookContextImpl();
        hookCtx.setConf(conf);
        hook.preAnalyze(hookCtx, tree);
        sem.analyze(tree, ctx);
        hook.postAnalyze(hookCtx, sem.getRootTasks());
      } else {
        sem.analyze(tree, ctx);
      }
View Full Code Here

Examples of org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyze()

   * @throws Exception
   */
  public static DDLWork analyze(ASTNode ast, HiveConf conf, Hive db) throws Exception {
    DDLSemanticAnalyzer analyzer = new DDLSemanticAnalyzer(conf, db);
    SessionState.start(conf);
    analyzer.analyze(ast, new Context(conf));
    List<Task<? extends Serializable>> rootTasks = analyzer.getRootTasks();
    return (DDLWork) inList(rootTasks).ofSize(1).get(0).getWork();
  }

  /**
 
View Full Code Here

Examples of org.apache.tapestry.util.exception.ExceptionAnalyzer.analyze()

  {
    ExceptionAnalyzer analyzer;

    analyzer = new ExceptionAnalyzer();

    _exceptions = analyzer.analyze(value);
  }
}
View Full Code Here

Examples of org.apache.tapestry5.internal.plastic.asm.tree.analysis.Analyzer.analyze()

    {
        this(new MethodNode(access, name, desc, null, null) {
            public void visitEnd() {
                Analyzer a = new Analyzer(new BasicVerifier());
                try {
                    a.analyze("dummy", this);
                } catch (Exception e) {
                    if (e instanceof IndexOutOfBoundsException
                            && maxLocals == 0 && maxStack == 0)
                    {
                        throw new RuntimeException("Data flow checking option requires valid, non zero maxLocals and maxStack values.");
View Full Code Here

Examples of org.deuce.objectweb.asm.tree.analysis.Analyzer.analyze()

    {
        this(new MethodNode(access, name, desc, null, null) {
            public void visitEnd() {
                Analyzer a = new Analyzer(new BasicVerifier());
                try {
                    a.analyze("dummy", this);
                } catch (Exception e) {
                    e.printStackTrace();
                    StringWriter sw = new StringWriter();
                    PrintWriter pw = new PrintWriter(sw, true);
                    CheckClassAdapter.printAnalyzerResult(this, a, pw);
View Full Code Here

Examples of org.drools.guvnor.client.decisiontable.analysis.DecisionTableAnalyzer.analyze()

    }

    public void analyze() {
        model.getAnalysisData().clear();
        DecisionTableAnalyzer analyzer = new DecisionTableAnalyzer( sce );
        List<Analysis> analysisData = analyzer.analyze( model );
        model.getAnalysisData().addAll( analysisData );
        showAnalysis();
    }

    private void showAnalysis() {
View Full Code Here

Examples of org.drools.workbench.screens.guided.dtable.client.widget.analysis.DecisionTableAnalyzer.analyze()

    }

    public void analyze() {
        model.getAnalysisData().clear();
        DecisionTableAnalyzer analyzer = new DecisionTableAnalyzer( oracle );
        List<Analysis> analysisData = analyzer.analyze( model );
        model.getAnalysisData().addAll( analysisData );
        showAnalysis();
    }

    private void showAnalysis() {
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.