/** * edge-lexer * * (c) Edge * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { EdgeError } from 'edge-error'; /** * Raised when there is inline content next to a tag opening * block. For example: * * Incorrect * ``` * @if(username) Hello {{ username }} @endif * ``` * * Correct * ``` * @if(username) * Hello {{ username }} * @endif * ``` */ export declare function cannotSeekStatement(chars: string, pos: { line: number; col: number; }, filename: string): EdgeError; /** * Raised when a tag opening body doesn't have a closing brace. For example: * * Incorrect * ``` * @if(username * ``` * * Correct * ``` * @if(username) * ``` */ export declare function unclosedParen(pos: { line: number; col: number; }, filename: string): EdgeError; /** * Raised when a tag is used without an opening brace. For example: * * Incorrect * ``` * @if username * ``` * * Correct * ``` * @if(username) * ``` */ export declare function unopenedParen(pos: { line: number; col: number; }, filename: string): EdgeError; /** * Raised when the curly closing brace is missing from the mustache * statement. For example: * * Incorrect * ``` * {{ username } * ``` * * Correct * * ``` * {{ username }} * ``` */ export declare function unclosedCurlyBrace(pos: { line: number; col: number; }, filename: string): EdgeError; /** * Raised when a block level tag is opened but never closed. For example: * * Incorrect * ``` * @if(username) * ``` * * Correct * ``` * @if(username) * @endif * ``` */ export declare function unclosedTag(tag: string, pos: { line: number; col: number; }, filename: string): EdgeError;