Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IToken

* Things to note:

  • "do" {
       startColumn : 1, endColumn: 2,
       startOffset: x, endOffset: x +1} --> the range is inclusive to exclusive 1...2 (2 chars long).
    
  • "\n" {startLine : 1, endLine: 1} --> a lineTerminator as the last character does not effect the Token's line numbering.

  • "'hello\tworld\uBBBB'" {image: "'hello\tworld\uBBBB'"} --> a Token's image is the "literal" text

                                                           (unicode escaping is untouched).
    

Hierarchy

Implemented by

Index

Properties

endColumn

endColumn: number

endLine

endLine: number

endOffset

endOffset: number

image

image: string

Optional isInsertedInRecovery

isInsertedInRecovery: boolean

startColumn

startColumn: number

startLine

startLine: number

startOffset

startOffset: number

Generated using TypeDoc