Examples of MXMLFileNode


Examples of org.apache.flex.compiler.internal.tree.mxml.MXMLFileNode

    @Override
    protected IABCBytesRequestResult handleABCBytesRequest() throws InterruptedException
    {
        // Fulfill other requests before profiling this request.
        final ISyntaxTreeRequestResult syntaxTreeRequestResult = getSyntaxTreeRequest().get();
        final MXMLFileNode fileNode = (MXMLFileNode)syntaxTreeRequestResult.getAST();
        final CompilerProject project = getProject();
       
        startProfile(Operation.GET_ABC_BYTES);
        try
        {
View Full Code Here

Examples of org.apache.flex.compiler.internal.tree.mxml.MXMLFileNode

    @Override
    protected IOutgoingDependenciesRequestResult handleOutgoingDependenciesRequest () throws InterruptedException
    {
        // Fulfill other requests before profiling this request.
        final ISyntaxTreeRequestResult syntaxTreeRequestResult = getSyntaxTreeRequest().get();
        final MXMLFileNode fileNode = (MXMLFileNode)syntaxTreeRequestResult.getAST();

        startParsingImports(fileNode);

        startProfile(Operation.GET_SEMANTIC_PROBLEMS);
        try
        {
            /* do the codegen now, because we don't discover SDK databinding dependencies
             * until codegen. Long term we probably want to go in this direction anyway,
             * since semantic analysis and codegen may get folded together for other reasons.
             */
            getABCBytesRequest().get();
            Collection<ICompilerProblem> problems = new HashSet<ICompilerProblem>();

            updateEmbedCompilationUnitDependencies(fileNode.getEmbedNodes(), problems);
           
            getABCBytesRequest().get();

            // Resolve all references to definitions.
            //fileNode.resolveRefs(problems, getProject());
View Full Code Here

Examples of org.apache.flex.compiler.internal.tree.mxml.MXMLFileNode

            if (rootCompilationUnit.getCompilationUnitType() != ICompilationUnit.UnitType.MXML_UNIT)
                return;
            final MXMLCompilationUnit rootMXMLCompilationUnit = (MXMLCompilationUnit)rootCompilationUnit;
               
            // Only validate root MXML compilation unit because only an application file can have type selectors.
            final MXMLFileNode mxmlFileNode = (MXMLFileNode)rootMXMLCompilationUnit.getSyntaxTreeRequest().get().getAST();
            CSSSemanticAnalyzer.validate(
                    builtCompilationUnits,
                    mxmlFileNode.getCSSCompilationSession(),
                    problems);
        }
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.