Examples of SyntaxProblem


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

            syntaxProblem = unexpectedTokenProblem(current, expectedKind);
        }
        else
        {
            final ASToken errorToken = current.getType() == EOF ? buffer.previous() : current;
            syntaxProblem = new SyntaxProblem(errorToken);
        }

        addProblem(syntaxProblem);
    }
View Full Code Here

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

     *
     * @param badToken the token that caused the syntax error
     */
    protected final void logSyntaxError(ASToken badToken)
    {
        addProblem(new SyntaxProblem(badToken));
    }
View Full Code Here

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

     *
     * @param token Offending token.
     */
    protected final void reportUnexpectedTokenProblem(final ASToken token)
    {
        addProblem(new SyntaxProblem(token));
    }
View Full Code Here

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

            final ICompilerProblem problem = new NestedPackageProblem(keywordPackage);
            addProblem(problem);
        }
        else if (!isGlobalContext())
        {
            final ICompilerProblem problem = new SyntaxProblem(keywordPackage);
            addProblem(problem);
        }
        packageDepth++;
    }
View Full Code Here

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

                return;
            }
        }
        else
        {
            addProblem(new SyntaxProblem(token));
        }
    }
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.