@@ -30,20 +30,20 @@ export interface StateDefinition<P extends Meta = Meta> {
3030}
3131
3232export class Parser {
33- public declare pos : number ;
34- public declare maxPos : number ;
35- public declare data : string ;
36- public declare activeState : StateDefinition ;
37- public declare activeRange : Meta ;
38- public declare forward : number ;
39- public declare activeTag : STATE . OpenTagMeta | undefined ; // Used to reference the closest open tag
40- public declare activeAttr : STATE . AttrMeta | undefined ; // Used to reference the current attribute that is being parsed
41- public declare indent : string ; // Used to build the indent for the current concise line
42- public declare isConcise : boolean ; // Set to true if parser is currently in concise mode
43- public declare beginMixedMode ?: boolean ; // Used as a flag to mark that the next HTML block should enter the parser into HTML mode
44- public declare endingMixedModeAtEOL ?: boolean ; // Used as a flag to record that the next EOL to exit HTML mode and go back to concise
45- public declare textPos : number ; // Used to buffer text that is found within the body of a tag
46- public declare lines : undefined | number [ ] ; // Keeps track of line indexes to provide line/column info.
33+ declare public pos : number ;
34+ declare public maxPos : number ;
35+ declare public data : string ;
36+ declare public activeState : StateDefinition ;
37+ declare public activeRange : Meta ;
38+ declare public forward : number ;
39+ declare public activeTag : STATE . OpenTagMeta | undefined ; // Used to reference the closest open tag
40+ declare public activeAttr : STATE . AttrMeta | undefined ; // Used to reference the current attribute that is being parsed
41+ declare public indent : string ; // Used to build the indent for the current concise line
42+ declare public isConcise : boolean ; // Set to true if parser is currently in concise mode
43+ declare public beginMixedMode ?: boolean ; // Used as a flag to mark that the next HTML block should enter the parser into HTML mode
44+ declare public endingMixedModeAtEOL ?: boolean ; // Used as a flag to record that the next EOL to exit HTML mode and go back to concise
45+ declare public textPos : number ; // Used to buffer text that is found within the body of a tag
46+ declare public lines : undefined | number [ ] ; // Keeps track of line indexes to provide line/column info.
4747
4848 constructor ( public options : Options ) { }
4949
0 commit comments