Search


Search something to see results

MatchExpressionToken

Match expression token

interface MatchExpressionToken {
    attr?: "s" | "i";
    l: Token;
    loc?: Location;
    op:
        | IncludeMatchToken
        | StartMatchToken
        | EndMatchToken
        | ContainMatchToken
        | DashMatchToken
        | EqualMatchToken;
    parent?: any;
    r: Token;
    tokens?: Token[]
    | null;
    typ: MatchExpressionTokenType;
}

Hierarchy (View Summary)

Index

Properties

attr?: "s" | "i"
loc?: Location

location info

op:
    | IncludeMatchToken
    | StartMatchToken
    | EndMatchToken
    | ContainMatchToken
    | DashMatchToken
    | EqualMatchToken
parent?: any

parent node

tokens?: Token[] | null

prelude or selector tokens

token type