Class PositionedSkippedToken

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(parentToken: PositionedToken, token: ISyntaxToken, fullStart: number): PositionedSkippedToken

Parameters

Returns

PositionedSkippedToken

Properties

private _parentToken: any

Methods

public childAt(index: number): PositionedElement

Parameters

  • index: number

Returns

PositionedElement

public childCount(): number

Returns

number

public childEnd(child: ISyntaxElement): number

Parameters

Returns

number

public childEndAt(index: number): number

Parameters

  • index: number

Returns

number

public childIndex(child: ISyntaxElement): number

Parameters

Returns

number

public childStart(child: ISyntaxElement): number

Parameters

Returns

number

public childStartAt(index: number): number

Parameters

  • index: number

Returns

number

public containingNode(): PositionedNode

Returns

PositionedNode

public element(): ISyntaxElement

Returns

ISyntaxElement

public end(): number

Returns

number

public fullEnd(): number

Returns

number

public fullStart(): number

Returns

number

public fullWidth(): number

Returns

number

public getPositionedChild(child: ISyntaxElement): PositionedElement

Parameters

Returns

PositionedElement

public kind(): SyntaxKind

Returns

SyntaxKind

public nextToken(includeSkippedTokens?: boolean): PositionedToken

Parameters

  • includeSkippedTokens?: boolean optional

Returns

PositionedToken

public nodeOrToken(): ISyntaxNodeOrToken

Returns

ISyntaxNodeOrToken

public parent(): PositionedElement

Returns

PositionedElement

public parentElement(): ISyntaxElement

Returns

ISyntaxElement

public parentToken(): PositionedToken

Returns

PositionedToken

public previousToken(includeSkippedTokens?: boolean): PositionedToken

Parameters

  • includeSkippedTokens?: boolean optional

Returns

PositionedToken

public root(): PositionedNode

Returns

PositionedNode

public start(): number

Returns

number

public token(): ISyntaxToken

Returns

ISyntaxToken