@eliseev_s/tolk-tlb-transpiler
Version:
Transpile Tolk structs to TLB definitions and generate TypeScript wrappers for TON blockchain smart contracts
29 lines • 780 B
TypeScript
import { Node } from 'web-tree-sitter';
import type { GetMethod, TolkType } from './types';
export declare class GetMethodsParser {
/**
* Parse get methods from Tolk AST
*/
static parseGetMethods(rootNode: Node, typeResolver: (node: Node) => TolkType): GetMethod[];
/**
* Find all get method declaration nodes recursively
*/
private static findGetMethodNodes;
/**
* Parse a single get method node
*/
private static parseGetMethod;
/**
* Parse method parameters
*/
private static parseParameters;
/**
* Parse return type
*/
private static parseReturnType;
/**
* Parse method annotations
*/
private static parseAnnotations;
}
//# sourceMappingURL=get-methods-parser.d.ts.map