(sourceFile *ast.SourceFile)
| 389 | } |
| 390 | |
| 391 | func GetNodeIndexTable(sourceFile *ast.SourceFile) *NodeIndexTable { |
| 392 | return ast.GetOrComputeSourceFileData(sourceFile, nodeIndexTableKey, BuildNodeIndexTable) |
| 393 | } |
| 394 | |
| 395 | // EncodeSourceFile encodes an entire source file AST into the binary format. |
| 396 | // Returns the encoded bytes and a NodeIndexTable mapping encoder indices to AST nodes. |
no test coverage detected