-
Notifications
You must be signed in to change notification settings - Fork 15
Interfaces
0Warning
1Error
2Message
0ES3
1ES5
numberpos
numberend
stringfilename
stringdefaultLibFilenamedefault: ''
SourceFilefile
numberstart
numberlength
stringmessageText
[[DiagnosticCategory|Interfaces#diagnosticcategory-enum]] category
numbercode
TValuesome_key
TValueanother_key
TValue. . .
Works just like an object where values are of type TValue
0x0001Export Declarations
0x0002Ambient Declarations
0x0004QuestionMark Parameter/Property/Method
0x0008Rest Parameter
0x0010Public Property/Method
0x0020Private Property/Method
0x0040Static Property/Method
0x0080MultiLine Multi-line array or object literal
0x0100Synthetic Synthetic node (for full fidelity)
0x0200DeclarationFile Node is a .d.ts file
0x0073Modifier =Export | Ambient | Public | Private | Static
numberpos
numberend
[[SyntaxKind|]] kind
[[NodeFlags|Interfaces#nodeflags-enum]] flags
numberid?
Unique id (used to look up NodeLinks)
[[Node|Interfaces#node]] parent?
Parent node (initialized by binding)
[[Symbol|]] symbol?
Symbol declared by node (initialized by binding)
[[SymbolTable|]] locals?
Locals associated with node (initialized by binding)
[[Node|Interfaces#node]] nextContainer?
Next container in declaration order (initialized by binding)
[[Symbol|]] localSymbol?
Local symbol declared by node (initialized by binding only for exported nodes)
stringfilename
stringtext
string[]amdDependencies
[[FileReference|Interfaces#filereference]][] referencedFiles
[[Diagnostic[]|Interfaces#diagnostic]] syntacticErrors
[[Diagnostic[]|Interfaces#diagnostic]] semanticErrors
booleanhasNoDefaultLib
[[Node|Interfaces#node]] externalModuleIndicator
numbernodeCount
numberidentifierCount
numbersymbolCount
booleanisOpen
stringversion
[[ScriptTarget|Interfaces#scripttarget]] languageVersion
[[Map<string>|Interfaces#maptvalue]] identifiers
getLineAndCharacterFromPosition (numberpostion )
returns {numberline,numbercharacter }
getPositionFromLineAndCharacter (numberline,numbercharacter )
returnsnumber
0File
1String
SourceTypetype
stringfilename?
stringcontents?
implements:
Source
SourceTypetype =SourceType.String
constructor (stringcontents,stringfilename?)
resetCounter ( )
Resets the internal counter used to generate file names
implements:
Source
SourceTypetype =SourceType.File
constructor (stringfilename )