UNPKG

@hadss/hmrouter-plugin

Version:

HMRouter Compiler Plugin

9 lines (8 loc) 673 B
import { Decorator, SourceFile } from 'ts-morph'; import { IConstantResolver } from '../interface/IConstantResolver'; import { BaseAnalyzeResult } from '../../../framework'; export declare class DecoratorParser { static parseDecorator(decorator: Decorator, constantResolver: IConstantResolver, sourceFile: SourceFile, filePath: string): BaseAnalyzeResult; static parseDecoratorArguments(decorator: Decorator, constantResolver: IConstantResolver, sourceFile: SourceFile, filePath: string): BaseAnalyzeResult; static hondleObjLiteral(prop: any, constantResolver: IConstantResolver, sourceFile: SourceFile, filePath: string, argResult: BaseAnalyzeResult): void; }