Examples of ForwardReferenceToBaseClassProblem


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

            // If the absolute offset in the class is less than the
            // offset of the super class, it must be a forward reference in the file
            int classOffset = classDefinition.getAbsoluteStart();
            int superClassOffset = superclassDefinition.getAbsoluteEnd();
            if (classOffset < superClassOffset)
                classScope.addProblem(new ForwardReferenceToBaseClassProblem(node, superclassDefinition.getQualifiedName()));
        }

        // Set the superclass Name.
        this.superclassName = superclassDefinition.getMName(project);
        iinfo.superName = superclassName;
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.