Class: FilterToken

Hierarchy

Constructors

constructor

+ new FilterToken(name: string, args: FilterArg[], input: string, begin: number, end: number, file?: undefined | string): FilterToken

Overrides Token.constructor

Defined in tokens/filter-token.ts:5

Parameters:

Name Type
name string
args FilterArg[]
input string
begin number
end number
file? undefined | string

Returns: FilterToken

Properties

args

args: FilterArg[]

Defined in tokens/filter-token.ts:8


begin

begin: number

Inherited from Token.begin

Defined in tokens/token.ts:7


end

end: number

Inherited from Token.end

Defined in tokens/token.ts:8


Optional file

file? : undefined | string

Inherited from Token.file

Defined in tokens/token.ts:9


input

input: string

Inherited from Token.input

Defined in tokens/token.ts:6


kind

kind: TokenKind

Inherited from Token.kind

Defined in tokens/token.ts:5


name

name: string

Defined in tokens/filter-token.ts:7

Methods

getPosition

getPosition(): number[]

Inherited from Token.getPosition

Defined in tokens/token.ts:14

Returns: number[]


getText

getText(): string

Inherited from Token.getText

Defined in tokens/token.ts:11

Returns: string


size

size(): number

Inherited from Token.size

Defined in tokens/token.ts:24

Returns: number