Package org.apache.flex.compiler.problems

Examples of org.apache.flex.compiler.problems.CodegenInternalProblem


            ExpressionNodeBase expr = (ExpressionNodeBase) iNode;
            Name n = expr.getMName(currentScope.getProject());

            if ( n == null )
            {
                currentScope.addProblem(new CodegenInternalProblem(iNode, "Unable to resove member name: " + iNode.toString()));
                n = new Name(CONSTANT_Qname, new Nsset(new Namespace(CONSTANT_PackageNs, qualifiers)), base_name);
            }

            return currentScope.getBinding(iNode, n, expr.resolve(currentScope.getProject()));
        }

        //else
            currentScope.addProblem(new CodegenInternalProblem(iNode, "Unable to resove to a dotted name: " + iNode.toString()));
            return new Binding(iNode, new Name(CONSTANT_Qname, new Nsset(new Namespace(CONSTANT_PackageNs, qualifiers)), base_name), null);
    }
View Full Code Here


            {
                generatedBytes = emitter.emit();
            }
            catch ( Throwable cant_generate )
            {
                global_scope.addProblem(new CodegenInternalProblem(root_node, cant_generate));
            }
        }

        Set<EmbedData> embeds = global_scope.getEmbeds();
        EmbedCompilationUnitFactory.collectEmbedDatas(project, (IFileNodeAccumulator)root_node, embeds, global_scope.getProblems());
View Full Code Here

          scope.getProblems().clear();
          return;
      }
      else if ( ! ( ex instanceof BURMAbortException ) )
        {
            scope.addProblem( new CodegenInternalProblem(n, ex) );
        }
      DumpBURMState.dump(burm, n);
  }
View Full Code Here

                generatedBytes = emitter.emit();
            }
            catch (Throwable ex)
            {
                problems.add(new CodegenInternalProblem(rootNode, ex));
            }

            Set<EmbedData> embeds = new HashSet<EmbedData>();
            EmbedCompilationUnitFactory.collectEmbedDatas(getProject(), (IFileNodeAccumulator)rootNode, embeds, problems);
View Full Code Here

                                    project.getWorkspace(), name);
                            bodyInstructionList.addInstruction(ABCConstants.OP_getlex, embedClassRef.getMName());
                        }
                        catch (InterruptedException ex)
                        {
                            problems.add(new CodegenInternalProblem(embedNode, ex));
                        }
                        break;

                    default:
                        //This shouldn't happen. Should we handle this case by collecting a problem?
View Full Code Here

                {
                    result.add(candidate.createFinding(candidate.getInnermostMatchedNode(annotation)));
                }
                catch ( Exception ex )
                {
                    this.problems.add(new CodegenInternalProblem(node, ex));
                }
            }
        }

        return result;
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.problems.CodegenInternalProblem

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.