flow-parser 0.325.0 → 0.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,20 +46,20 @@ export type FlowParserProgram = {
46
46
  export default class FlowParserDeserializer {
47
47
  programBufferIdx: number;
48
48
  positionBufferIdx: number;
49
- +positionBufferSize: number;
50
- +stringBufferBase: number;
51
- +locMap: {[number]: HermesSourceLocation};
52
- +HEAPU8: FlowParserWASM['HEAPU8'];
53
- +HEAPU32: FlowParserWASM['HEAPU32'];
54
- +HEAPF64: FlowParserWASM['HEAPF64'];
55
- +options: ParserOptions;
49
+ readonly positionBufferSize: number;
50
+ readonly stringBufferBase: number;
51
+ readonly locMap: {[number]: HermesSourceLocation};
52
+ readonly HEAPU8: FlowParserWASM['HEAPU8'];
53
+ readonly HEAPU32: FlowParserWASM['HEAPU32'];
54
+ readonly HEAPF64: FlowParserWASM['HEAPF64'];
55
+ readonly options: ParserOptions;
56
56
 
57
57
  // Comment types: Flow uses ESTree-standard names
58
58
  // Matches CommentKind enum in ast.rs: Block = 0, Line = 1
59
- +commentTypes: ReadonlyArray<FlowComment['type']> = ['Block', 'Line'];
59
+ readonly commentTypes: ReadonlyArray<FlowComment['type']> = ['Block', 'Line'];
60
60
 
61
61
  // Matches TokenType enum (same as Hermes for compatibility)
62
- +tokenTypes: ReadonlyArray<HermesToken['type']> = [
62
+ readonly tokenTypes: ReadonlyArray<HermesToken['type']> = [
63
63
  'Boolean',
64
64
  'Identifier',
65
65
  'Keyword',