Package org.apache.flex.compiler.common

Examples of org.apache.flex.compiler.common.SourceLocation


     * @param fileName the name of the file, normalized.
     * @param lineNumber the line within the file.
     */
    public UnreachableBlockProblem(String fileName, int lineNumber)
    {
        super(new SourceLocation(fileName, ISourceLocation.UNKNOWN, ISourceLocation.UNKNOWN, lineNumber, ISourceLocation.UNKNOWN));
    }
View Full Code Here


    {
        final String messageHeader = baseRecognizer.getErrorHeader(e);
        final String messageBody = baseRecognizer.getErrorMessage(e, tokenNames);
        final String reason = String.format("%s %s", messageHeader, messageBody);

        final ISourceLocation location = new SourceLocation(
            e.input.getSourceName(),
            UNKNOWN, UNKNOWN, // TODO Need start and end info from CSS
            e.line, e.charPositionInLine);

        return new CSSParserProblem(location, reason, baseRecognizer.getClass());
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.common.SourceLocation

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.