Constructors
constructor
- new ShellParser(scriptString, originalPosition?): ShellParser
Parameters
- scriptString: string
- originalPosition: Position = ...
Properties
Readonly
originalPosition
Readonly
scriptString
scriptString: string
Methods
parse
- parse(variant?): ShellNodeTypes
Parameters
- variant: number = syntax.LangBash
Private
pos
- pos(node): Position
Parameters
- node: Pos | Node | Node[]
Private
stackIn
- stackIn(node): void
Returns void
Private
stackOut
- stackOut(): void
Returns void
Contains all errors that occurred during parsing