Package org.apache.flex.compiler.problems

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


        IDefinition tagDef = builder.getFileScope().resolveTagToDefinition(rootTag);

        // Report a problem if the root tag doesn't map to a definition.
        if (tagDef == null)
        {
            ICompilerProblem problem = new MXMLUnresolvedTagProblem(rootTag);
            builder.addProblem(problem);
            return;
        }

        // Report a problem if that definition isn't for a class.
View Full Code Here


        if (baseClass instanceof IResolvedQualifiersReference)
        {
            IDefinition baseDef = ((IResolvedQualifiersReference)baseClass).resolve(project);
            if (baseDef == null)
                problems.add(new MXMLUnresolvedTagProblem(rootTag));
            else
                currentClassScope.addImport(baseDef.getQualifiedName());          
        }

        currentClassDefinition.setContainedScope(currentClassScope);
View Full Code Here

                    instanceNode.setClassReference(project, (ClassDefinition)definition); // TODO Move this logic to initializeFromTag().
                    instanceNode.initializeFromTag(builder, childTag);
                }
                else
                {
                    ICompilerProblem problem = new MXMLUnresolvedTagProblem(childTag);
                    builder.addProblem(problem);
                }
            }
        }
View Full Code Here

        FlexProject project = builder.getProject();

        String tagName = builder.getFileScope().resolveTagToQualifiedName(childTag);
        if (tagName == null)
        {
            builder.addProblem(new MXMLUnresolvedTagProblem(childTag));
            return;
        }

        IDefinition definition = project.getScope().findDefinitionByName(tagName);
        if (definition instanceof ClassDefinition)
View Full Code Here

TOP

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

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.