mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 19:20:08 +08:00
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
17 lines
1.0 KiB
TypeScript
17 lines
1.0 KiB
TypeScript
import { GeneratorBase } from "./generator-base";
|
|
import { DescriptorRegistry, ServiceDescriptorProto, SymbolTable, TypescriptFile, TypeScriptImports } from "@protobuf-ts/plugin-framework";
|
|
import { Interpreter } from "../interpreter";
|
|
import * as ts from "typescript";
|
|
import { CommentGenerator } from "./comment-generator";
|
|
export declare class ServiceServerGeneratorGrpc extends GeneratorBase {
|
|
private readonly options;
|
|
private readonly symbolKindInterface;
|
|
private readonly symbolKindDefinition;
|
|
constructor(symbols: SymbolTable, registry: DescriptorRegistry, imports: TypeScriptImports, comments: CommentGenerator, interpreter: Interpreter, options: {});
|
|
registerSymbols(source: TypescriptFile, descriptor: ServiceDescriptorProto): void;
|
|
generateInterface(source: TypescriptFile, descriptor: ServiceDescriptorProto): ts.InterfaceDeclaration;
|
|
private createMethodPropertySignature;
|
|
generateDefinition(source: TypescriptFile, descriptor: ServiceDescriptorProto): ts.VariableStatement;
|
|
private makeDefinitionProperty;
|
|
}
|