Package org.apache.flex.compiler.problems

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


     * @param modifier  the modifier to check
     */
    protected void verifyModifier(IASNode site, ASModifier modifier)
    {
        if( modifier == ASModifier.STATIC )
            currentScope.addProblem(new StaticOutsideClassProblem(site));
        else if( modifier == ASModifier.FINAL )
            currentScope.addProblem(new FinalOutsideClassProblem(site));
        else if( modifier == ASModifier.OVERRIDE )
            currentScope.addProblem(new OverrideOutsideClassProblem(site));
        else if( modifier == ASModifier.VIRTUAL )
View Full Code Here


        IExpressionNode site = f.getNameExpressionNode();
        for (ASModifier modifier : modifiers)
        {
            if( modifier == ASModifier.STATIC )
            {
                this.interfaceScope.addProblem(new StaticOutsideClassProblem(site));
            }
            else if ( modifier == ASModifier.OVERRIDE )
            {
                interfaceScope.addProblem(new InvalidOverrideProblem(site));
            }
View Full Code Here

TOP

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

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.