Documentation ¶
Index ¶
- Variables
- func PROTORPC_AcceptBuiltinServiceClient(lis net.Listener, x PROTORPC_BuiltinService)
- func PROTORPC_AcceptKclvmServiceClient(lis net.Listener, x PROTORPC_KclvmService)
- func PROTORPC_ListenAndServeBuiltinService(network, addr string, x PROTORPC_BuiltinService) error
- func PROTORPC_ListenAndServeKclvmService(network, addr string, x PROTORPC_KclvmService) error
- func PROTORPC_NewBuiltinServiceServer(x PROTORPC_BuiltinService) *rpc.Server
- func PROTORPC_NewKclvmServiceServer(x PROTORPC_KclvmService) *rpc.Server
- func PROTORPC_RegisterBuiltinService(srv *rpc.Server, x PROTORPC_BuiltinService) error
- func PROTORPC_RegisterKclvmService(srv *rpc.Server, x PROTORPC_KclvmService) error
- func PROTORPC_ServeBuiltinService(conn io.ReadWriteCloser, x PROTORPC_BuiltinService)
- func PROTORPC_ServeKclvmService(conn io.ReadWriteCloser, x PROTORPC_KclvmService)
- func RegisterBuiltinServiceServer(s *grpc.Server, srv BuiltinServiceServer)
- func RegisterKclvmServiceServer(s *grpc.Server, srv KclvmServiceServer)
- type BuiltinServiceClient
- type BuiltinServiceServer
- type CliConfig
- func (*CliConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CliConfig) GetDebug() bool
- func (x *CliConfig) GetDisableNone() bool
- func (x *CliConfig) GetFiles() []string
- func (x *CliConfig) GetIncludeSchemaTypePath() bool
- func (x *CliConfig) GetOutput() string
- func (x *CliConfig) GetOverrides() []string
- func (x *CliConfig) GetPathSelector() []string
- func (x *CliConfig) GetSortKeys() bool
- func (x *CliConfig) GetStrictRangeCheck() bool
- func (x *CliConfig) GetVerbose() int64
- func (*CliConfig) ProtoMessage()
- func (x *CliConfig) ProtoReflect() protoreflect.Message
- func (x *CliConfig) Reset()
- func (x *CliConfig) String() string
- type CmdArgSpec
- type CmdExternalPkgSpec
- func (*CmdExternalPkgSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CmdExternalPkgSpec) GetPkgName() string
- func (x *CmdExternalPkgSpec) GetPkgPath() string
- func (*CmdExternalPkgSpec) ProtoMessage()
- func (x *CmdExternalPkgSpec) ProtoReflect() protoreflect.Message
- func (x *CmdExternalPkgSpec) Reset()
- func (x *CmdExternalPkgSpec) String() string
- type CmdOverrideSpec
- func (*CmdOverrideSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CmdOverrideSpec) GetAction() string
- func (x *CmdOverrideSpec) GetFieldPath() string
- func (x *CmdOverrideSpec) GetFieldValue() string
- func (x *CmdOverrideSpec) GetPkgpath() string
- func (*CmdOverrideSpec) ProtoMessage()
- func (x *CmdOverrideSpec) ProtoReflect() protoreflect.Message
- func (x *CmdOverrideSpec) Reset()
- func (x *CmdOverrideSpec) String() string
- type Decorator
- func (*Decorator) Descriptor() ([]byte, []int)deprecated
- func (x *Decorator) GetArguments() []string
- func (x *Decorator) GetKeywords() map[string]string
- func (x *Decorator) GetName() string
- func (*Decorator) ProtoMessage()
- func (x *Decorator) ProtoReflect() protoreflect.Message
- func (x *Decorator) Reset()
- func (x *Decorator) String() string
- type Error
- type Example
- func (*Example) Descriptor() ([]byte, []int)deprecated
- func (x *Example) GetDescription() string
- func (x *Example) GetSummary() string
- func (x *Example) GetValue() string
- func (*Example) ProtoMessage()
- func (x *Example) ProtoReflect() protoreflect.Message
- func (x *Example) Reset()
- func (x *Example) String() string
- type ExecProgram_Args
- func (*ExecProgram_Args) Descriptor() ([]byte, []int)deprecated
- func (x *ExecProgram_Args) GetArgs() []*CmdArgSpec
- func (x *ExecProgram_Args) GetCompileOnly() bool
- func (x *ExecProgram_Args) GetDebug() int32
- func (x *ExecProgram_Args) GetDisableNone() bool
- func (x *ExecProgram_Args) GetDisableYamlResult() bool
- func (x *ExecProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec
- func (x *ExecProgram_Args) GetIncludeSchemaTypePath() bool
- func (x *ExecProgram_Args) GetKCodeList() []string
- func (x *ExecProgram_Args) GetKFilenameList() []string
- func (x *ExecProgram_Args) GetOverrides() []*CmdOverrideSpec
- func (x *ExecProgram_Args) GetPathSelector() []string
- func (x *ExecProgram_Args) GetPrintOverrideAst() bool
- func (x *ExecProgram_Args) GetSortKeys() bool
- func (x *ExecProgram_Args) GetStrictRangeCheck() bool
- func (x *ExecProgram_Args) GetVerbose() int32
- func (x *ExecProgram_Args) GetWorkDir() string
- func (*ExecProgram_Args) ProtoMessage()
- func (x *ExecProgram_Args) ProtoReflect() protoreflect.Message
- func (x *ExecProgram_Args) Reset()
- func (x *ExecProgram_Args) String() string
- type ExecProgram_Result
- func (*ExecProgram_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ExecProgram_Result) GetErrMessage() string
- func (x *ExecProgram_Result) GetJsonResult() string
- func (x *ExecProgram_Result) GetLogMessage() string
- func (x *ExecProgram_Result) GetYamlResult() string
- func (*ExecProgram_Result) ProtoMessage()
- func (x *ExecProgram_Result) ProtoReflect() protoreflect.Message
- func (x *ExecProgram_Result) Reset()
- func (x *ExecProgram_Result) String() string
- type FormatCode_Args
- type FormatCode_Result
- type FormatPath_Args
- type FormatPath_Result
- func (*FormatPath_Result) Descriptor() ([]byte, []int)deprecated
- func (x *FormatPath_Result) GetChangedPaths() []string
- func (*FormatPath_Result) ProtoMessage()
- func (x *FormatPath_Result) ProtoReflect() protoreflect.Message
- func (x *FormatPath_Result) Reset()
- func (x *FormatPath_Result) String() string
- type GetFullSchemaType_Args
- func (*GetFullSchemaType_Args) Descriptor() ([]byte, []int)deprecated
- func (x *GetFullSchemaType_Args) GetExecArgs() *ExecProgram_Args
- func (x *GetFullSchemaType_Args) GetSchemaName() string
- func (*GetFullSchemaType_Args) ProtoMessage()
- func (x *GetFullSchemaType_Args) ProtoReflect() protoreflect.Message
- func (x *GetFullSchemaType_Args) Reset()
- func (x *GetFullSchemaType_Args) String() string
- type GetSchemaTypeMapping_Args
- func (*GetSchemaTypeMapping_Args) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaTypeMapping_Args) GetCode() string
- func (x *GetSchemaTypeMapping_Args) GetFile() string
- func (x *GetSchemaTypeMapping_Args) GetSchemaName() string
- func (*GetSchemaTypeMapping_Args) ProtoMessage()
- func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message
- func (x *GetSchemaTypeMapping_Args) Reset()
- func (x *GetSchemaTypeMapping_Args) String() string
- type GetSchemaTypeMapping_Result
- func (*GetSchemaTypeMapping_Result) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaTypeMapping_Result) GetSchemaTypeMapping() map[string]*KclType
- func (*GetSchemaTypeMapping_Result) ProtoMessage()
- func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message
- func (x *GetSchemaTypeMapping_Result) Reset()
- func (x *GetSchemaTypeMapping_Result) String() string
- type GetSchemaType_Args
- func (*GetSchemaType_Args) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaType_Args) GetCode() string
- func (x *GetSchemaType_Args) GetFile() string
- func (x *GetSchemaType_Args) GetSchemaName() string
- func (*GetSchemaType_Args) ProtoMessage()
- func (x *GetSchemaType_Args) ProtoReflect() protoreflect.Message
- func (x *GetSchemaType_Args) Reset()
- func (x *GetSchemaType_Args) String() string
- type GetSchemaType_Result
- func (*GetSchemaType_Result) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaType_Result) GetSchemaTypeList() []*KclType
- func (*GetSchemaType_Result) ProtoMessage()
- func (x *GetSchemaType_Result) ProtoReflect() protoreflect.Message
- func (x *GetSchemaType_Result) Reset()
- func (x *GetSchemaType_Result) String() string
- type KclType
- func (*KclType) Descriptor() ([]byte, []int)deprecated
- func (x *KclType) GetDecorators() []*Decorator
- func (x *KclType) GetDefault() string
- func (x *KclType) GetDescription() string
- func (x *KclType) GetExamples() map[string]*Example
- func (x *KclType) GetFilename() string
- func (x *KclType) GetItem() *KclType
- func (x *KclType) GetKey() *KclType
- func (x *KclType) GetLine() int32
- func (x *KclType) GetPkgPath() string
- func (x *KclType) GetProperties() map[string]*KclType
- func (x *KclType) GetRequired() []string
- func (x *KclType) GetSchemaDoc() string
- func (x *KclType) GetSchemaName() string
- func (x *KclType) GetType() string
- func (x *KclType) GetUnionTypes() []*KclType
- func (*KclType) ProtoMessage()
- func (x *KclType) ProtoReflect() protoreflect.Message
- func (x *KclType) Reset()
- func (x *KclType) String() string
- type KclvmServiceClient
- type KclvmServiceServer
- type KeyValuePair
- func (*KeyValuePair) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValuePair) GetKey() string
- func (x *KeyValuePair) GetValue() string
- func (*KeyValuePair) ProtoMessage()
- func (x *KeyValuePair) ProtoReflect() protoreflect.Message
- func (x *KeyValuePair) Reset()
- func (x *KeyValuePair) String() string
- type LintPath_Args
- type LintPath_Result
- type ListDepFiles_Args
- func (*ListDepFiles_Args) Descriptor() ([]byte, []int)deprecated
- func (x *ListDepFiles_Args) GetIncludeAll() bool
- func (x *ListDepFiles_Args) GetUseAbsPath() bool
- func (x *ListDepFiles_Args) GetUseFastParser() bool
- func (x *ListDepFiles_Args) GetWorkDir() string
- func (*ListDepFiles_Args) ProtoMessage()
- func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message
- func (x *ListDepFiles_Args) Reset()
- func (x *ListDepFiles_Args) String() string
- type ListDepFiles_Result
- func (*ListDepFiles_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ListDepFiles_Result) GetFiles() []string
- func (x *ListDepFiles_Result) GetPkgpath() string
- func (x *ListDepFiles_Result) GetPkgroot() string
- func (*ListDepFiles_Result) ProtoMessage()
- func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message
- func (x *ListDepFiles_Result) Reset()
- func (x *ListDepFiles_Result) String() string
- type ListMethod_Args
- type ListMethod_Result
- func (*ListMethod_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ListMethod_Result) GetMethodNameList() []string
- func (*ListMethod_Result) ProtoMessage()
- func (x *ListMethod_Result) ProtoReflect() protoreflect.Message
- func (x *ListMethod_Result) Reset()
- func (x *ListMethod_Result) String() string
- type LoadPackage_Args
- func (*LoadPackage_Args) Descriptor() ([]byte, []int)deprecated
- func (x *LoadPackage_Args) GetLoadBuiltin() bool
- func (x *LoadPackage_Args) GetParseArgs() *ParseProgram_Args
- func (x *LoadPackage_Args) GetResolveAst() bool
- func (x *LoadPackage_Args) GetWithAstIndex() bool
- func (*LoadPackage_Args) ProtoMessage()
- func (x *LoadPackage_Args) ProtoReflect() protoreflect.Message
- func (x *LoadPackage_Args) Reset()
- func (x *LoadPackage_Args) String() string
- type LoadPackage_Result
- func (*LoadPackage_Result) Descriptor() ([]byte, []int)deprecated
- func (x *LoadPackage_Result) GetFullyQualifiedNameMap() map[string]*SymbolIndex
- func (x *LoadPackage_Result) GetNodeSymbolMap() map[string]*SymbolIndex
- func (x *LoadPackage_Result) GetParseErrors() []*Error
- func (x *LoadPackage_Result) GetPaths() []string
- func (x *LoadPackage_Result) GetPkgScopeMap() map[string]*ScopeIndex
- func (x *LoadPackage_Result) GetProgram() string
- func (x *LoadPackage_Result) GetScopes() map[string]*Scope
- func (x *LoadPackage_Result) GetSymbolNodeMap() map[string]string
- func (x *LoadPackage_Result) GetSymbols() map[string]*Symbol
- func (x *LoadPackage_Result) GetTypeErrors() []*Error
- func (*LoadPackage_Result) ProtoMessage()
- func (x *LoadPackage_Result) ProtoReflect() protoreflect.Message
- func (x *LoadPackage_Result) Reset()
- func (x *LoadPackage_Result) String() string
- type LoadSettingsFiles_Args
- func (*LoadSettingsFiles_Args) Descriptor() ([]byte, []int)deprecated
- func (x *LoadSettingsFiles_Args) GetFiles() []string
- func (x *LoadSettingsFiles_Args) GetWorkDir() string
- func (*LoadSettingsFiles_Args) ProtoMessage()
- func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message
- func (x *LoadSettingsFiles_Args) Reset()
- func (x *LoadSettingsFiles_Args) String() string
- type LoadSettingsFiles_Result
- func (*LoadSettingsFiles_Result) Descriptor() ([]byte, []int)deprecated
- func (x *LoadSettingsFiles_Result) GetKclCliConfigs() *CliConfig
- func (x *LoadSettingsFiles_Result) GetKclOptions() []*KeyValuePair
- func (*LoadSettingsFiles_Result) ProtoMessage()
- func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message
- func (x *LoadSettingsFiles_Result) Reset()
- func (x *LoadSettingsFiles_Result) String() string
- type Message
- type OverrideFile_Args
- func (*OverrideFile_Args) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideFile_Args) GetFile() string
- func (x *OverrideFile_Args) GetImportPaths() []string
- func (x *OverrideFile_Args) GetSpecs() []string
- func (*OverrideFile_Args) ProtoMessage()
- func (x *OverrideFile_Args) ProtoReflect() protoreflect.Message
- func (x *OverrideFile_Args) Reset()
- func (x *OverrideFile_Args) String() string
- type OverrideFile_Result
- func (*OverrideFile_Result) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideFile_Result) GetResult() bool
- func (*OverrideFile_Result) ProtoMessage()
- func (x *OverrideFile_Result) ProtoReflect() protoreflect.Message
- func (x *OverrideFile_Result) Reset()
- func (x *OverrideFile_Result) String() string
- type PROTORPC_BuiltinService
- type PROTORPC_BuiltinServiceClient
- func PROTORPC_DialBuiltinService(network, addr string) (*PROTORPC_BuiltinServiceClient, error)
- func PROTORPC_DialBuiltinServiceTimeout(network, addr string, timeout time.Duration) (*PROTORPC_BuiltinServiceClient, error)
- func PROTORPC_NewBuiltinServiceClient(conn io.ReadWriteCloser) *PROTORPC_BuiltinServiceClient
- func (c *PROTORPC_BuiltinServiceClient) AsyncListMethod(in *ListMethod_Args, out *ListMethod_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_BuiltinServiceClient) AsyncPing(in *Ping_Args, out *Ping_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_BuiltinServiceClient) ListMethod(in *ListMethod_Args) (out *ListMethod_Result, err error)
- func (c *PROTORPC_BuiltinServiceClient) Ping(in *Ping_Args) (out *Ping_Result, err error)
- type PROTORPC_KclvmService
- type PROTORPC_KclvmServiceClient
- func PROTORPC_DialKclvmService(network, addr string) (*PROTORPC_KclvmServiceClient, error)
- func PROTORPC_DialKclvmServiceTimeout(network, addr string, timeout time.Duration) (*PROTORPC_KclvmServiceClient, error)
- func PROTORPC_NewKclvmServiceClient(conn io.ReadWriteCloser) *PROTORPC_KclvmServiceClient
- func (c *PROTORPC_KclvmServiceClient) AsyncExecProgram(in *ExecProgram_Args, out *ExecProgram_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncFormatCode(in *FormatCode_Args, out *FormatCode_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncFormatPath(in *FormatPath_Args, out *FormatPath_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncGetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaType(in *GetSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaTypeMapping(in *GetSchemaTypeMapping_Args, out *GetSchemaTypeMapping_Result, ...) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncLintPath(in *LintPath_Args, out *LintPath_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncListDepFiles(in *ListDepFiles_Args, out *ListDepFiles_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncLoadPackage(in *LoadPackage_Args, out *LoadPackage_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncLoadSettingsFiles(in *LoadSettingsFiles_Args, out *LoadSettingsFiles_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncOverrideFile(in *OverrideFile_Args, out *OverrideFile_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncParseFile(in *ParseFile_Args, out *ParseFile_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncParseProgram(in *ParseProgram_Args, out *ParseProgram_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncPing(in *Ping_Args, out *Ping_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncRename(in *Rename_Args, out *Rename_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncRenameCode(in *RenameCode_Args, out *RenameCode_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncTest(in *Test_Args, out *Test_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) AsyncValidateCode(in *ValidateCode_Args, out *ValidateCode_Result, done chan *rpc.Call) *rpc.Call
- func (c *PROTORPC_KclvmServiceClient) ExecProgram(in *ExecProgram_Args) (out *ExecProgram_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) FormatCode(in *FormatCode_Args) (out *FormatCode_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) FormatPath(in *FormatPath_Args) (out *FormatPath_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) GetFullSchemaType(in *GetFullSchemaType_Args) (out *GetSchemaType_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) GetSchemaType(in *GetSchemaType_Args) (out *GetSchemaType_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) GetSchemaTypeMapping(in *GetSchemaTypeMapping_Args) (out *GetSchemaTypeMapping_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) LintPath(in *LintPath_Args) (out *LintPath_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) ListDepFiles(in *ListDepFiles_Args) (out *ListDepFiles_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) LoadPackage(in *LoadPackage_Args) (out *LoadPackage_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) LoadSettingsFiles(in *LoadSettingsFiles_Args) (out *LoadSettingsFiles_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) OverrideFile(in *OverrideFile_Args) (out *OverrideFile_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) ParseFile(in *ParseFile_Args) (out *ParseFile_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) ParseProgram(in *ParseProgram_Args) (out *ParseProgram_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) Ping(in *Ping_Args) (out *Ping_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) Rename(in *Rename_Args) (out *Rename_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) RenameCode(in *RenameCode_Args) (out *RenameCode_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) Test(in *Test_Args) (out *Test_Result, err error)
- func (c *PROTORPC_KclvmServiceClient) ValidateCode(in *ValidateCode_Args) (out *ValidateCode_Result, err error)
- type ParseFile_Args
- func (*ParseFile_Args) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFile_Args) GetExternalPkgs() []*CmdExternalPkgSpec
- func (x *ParseFile_Args) GetPath() string
- func (x *ParseFile_Args) GetSource() string
- func (*ParseFile_Args) ProtoMessage()
- func (x *ParseFile_Args) ProtoReflect() protoreflect.Message
- func (x *ParseFile_Args) Reset()
- func (x *ParseFile_Args) String() string
- type ParseFile_Result
- func (*ParseFile_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFile_Result) GetAstJson() string
- func (x *ParseFile_Result) GetDeps() []string
- func (x *ParseFile_Result) GetErrors() []*Error
- func (*ParseFile_Result) ProtoMessage()
- func (x *ParseFile_Result) ProtoReflect() protoreflect.Message
- func (x *ParseFile_Result) Reset()
- func (x *ParseFile_Result) String() string
- type ParseProgram_Args
- func (*ParseProgram_Args) Descriptor() ([]byte, []int)deprecated
- func (x *ParseProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec
- func (x *ParseProgram_Args) GetPaths() []string
- func (x *ParseProgram_Args) GetSources() []string
- func (*ParseProgram_Args) ProtoMessage()
- func (x *ParseProgram_Args) ProtoReflect() protoreflect.Message
- func (x *ParseProgram_Args) Reset()
- func (x *ParseProgram_Args) String() string
- type ParseProgram_Result
- func (*ParseProgram_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ParseProgram_Result) GetAstJson() string
- func (x *ParseProgram_Result) GetErrors() []*Error
- func (x *ParseProgram_Result) GetPaths() []string
- func (*ParseProgram_Result) ProtoMessage()
- func (x *ParseProgram_Result) ProtoReflect() protoreflect.Message
- func (x *ParseProgram_Result) Reset()
- func (x *ParseProgram_Result) String() string
- type Ping_Args
- type Ping_Result
- type Position
- func (*Position) Descriptor() ([]byte, []int)deprecated
- func (x *Position) GetColumn() int64
- func (x *Position) GetFilename() string
- func (x *Position) GetLine() int64
- func (*Position) ProtoMessage()
- func (x *Position) ProtoReflect() protoreflect.Message
- func (x *Position) Reset()
- func (x *Position) String() string
- type RenameCode_Args
- func (*RenameCode_Args) Descriptor() ([]byte, []int)deprecated
- func (x *RenameCode_Args) GetNewName() string
- func (x *RenameCode_Args) GetPackageRoot() string
- func (x *RenameCode_Args) GetSourceCodes() map[string]string
- func (x *RenameCode_Args) GetSymbolPath() string
- func (*RenameCode_Args) ProtoMessage()
- func (x *RenameCode_Args) ProtoReflect() protoreflect.Message
- func (x *RenameCode_Args) Reset()
- func (x *RenameCode_Args) String() string
- type RenameCode_Result
- func (*RenameCode_Result) Descriptor() ([]byte, []int)deprecated
- func (x *RenameCode_Result) GetChangedCodes() map[string]string
- func (*RenameCode_Result) ProtoMessage()
- func (x *RenameCode_Result) ProtoReflect() protoreflect.Message
- func (x *RenameCode_Result) Reset()
- func (x *RenameCode_Result) String() string
- type Rename_Args
- func (*Rename_Args) Descriptor() ([]byte, []int)deprecated
- func (x *Rename_Args) GetFilePaths() []string
- func (x *Rename_Args) GetNewName() string
- func (x *Rename_Args) GetPackageRoot() string
- func (x *Rename_Args) GetSymbolPath() string
- func (*Rename_Args) ProtoMessage()
- func (x *Rename_Args) ProtoReflect() protoreflect.Message
- func (x *Rename_Args) Reset()
- func (x *Rename_Args) String() string
- type Rename_Result
- type ResetPlugin_Args
- type ResetPlugin_Result
- type Scope
- func (*Scope) Descriptor() ([]byte, []int)deprecated
- func (x *Scope) GetChildren() []*ScopeIndex
- func (x *Scope) GetDefs() []*SymbolIndex
- func (x *Scope) GetKind() string
- func (x *Scope) GetOwner() *SymbolIndex
- func (x *Scope) GetParent() *ScopeIndex
- func (*Scope) ProtoMessage()
- func (x *Scope) ProtoReflect() protoreflect.Message
- func (x *Scope) Reset()
- func (x *Scope) String() string
- type ScopeIndex
- func (*ScopeIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeIndex) GetG() uint64
- func (x *ScopeIndex) GetI() uint64
- func (x *ScopeIndex) GetKind() string
- func (*ScopeIndex) ProtoMessage()
- func (x *ScopeIndex) ProtoReflect() protoreflect.Message
- func (x *ScopeIndex) Reset()
- func (x *ScopeIndex) String() string
- type Symbol
- func (*Symbol) Descriptor() ([]byte, []int)deprecated
- func (x *Symbol) GetAttrs() []*SymbolIndex
- func (x *Symbol) GetDef() *SymbolIndex
- func (x *Symbol) GetIsGlobal() bool
- func (x *Symbol) GetName() string
- func (x *Symbol) GetOwner() *SymbolIndex
- func (x *Symbol) GetTy() *KclType
- func (*Symbol) ProtoMessage()
- func (x *Symbol) ProtoReflect() protoreflect.Message
- func (x *Symbol) Reset()
- func (x *Symbol) String() string
- type SymbolIndex
- func (*SymbolIndex) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolIndex) GetG() uint64
- func (x *SymbolIndex) GetI() uint64
- func (x *SymbolIndex) GetKind() string
- func (*SymbolIndex) ProtoMessage()
- func (x *SymbolIndex) ProtoReflect() protoreflect.Message
- func (x *SymbolIndex) Reset()
- func (x *SymbolIndex) String() string
- type TestCaseInfo
- func (*TestCaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseInfo) GetDuration() uint64
- func (x *TestCaseInfo) GetError() string
- func (x *TestCaseInfo) GetLogMessage() string
- func (x *TestCaseInfo) GetName() string
- func (*TestCaseInfo) ProtoMessage()
- func (x *TestCaseInfo) ProtoReflect() protoreflect.Message
- func (x *TestCaseInfo) Reset()
- func (x *TestCaseInfo) String() string
- type Test_Args
- func (*Test_Args) Descriptor() ([]byte, []int)deprecated
- func (x *Test_Args) GetExecArgs() *ExecProgram_Args
- func (x *Test_Args) GetFailFast() bool
- func (x *Test_Args) GetPkgList() []string
- func (x *Test_Args) GetRunRegexp() string
- func (*Test_Args) ProtoMessage()
- func (x *Test_Args) ProtoReflect() protoreflect.Message
- func (x *Test_Args) Reset()
- func (x *Test_Args) String() string
- type Test_Result
- type UnimplementedBuiltinServiceServer
- type UnimplementedKclvmServiceServer
- func (*UnimplementedKclvmServiceServer) ExecProgram(context.Context, *ExecProgram_Args) (*ExecProgram_Result, error)
- func (*UnimplementedKclvmServiceServer) FormatCode(context.Context, *FormatCode_Args) (*FormatCode_Result, error)
- func (*UnimplementedKclvmServiceServer) FormatPath(context.Context, *FormatPath_Args) (*FormatPath_Result, error)
- func (*UnimplementedKclvmServiceServer) GetFullSchemaType(context.Context, *GetFullSchemaType_Args) (*GetSchemaType_Result, error)
- func (*UnimplementedKclvmServiceServer) GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error)
- func (*UnimplementedKclvmServiceServer) GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error)
- func (*UnimplementedKclvmServiceServer) LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error)
- func (*UnimplementedKclvmServiceServer) ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error)
- func (*UnimplementedKclvmServiceServer) LoadPackage(context.Context, *LoadPackage_Args) (*LoadPackage_Result, error)
- func (*UnimplementedKclvmServiceServer) LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error)
- func (*UnimplementedKclvmServiceServer) OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error)
- func (*UnimplementedKclvmServiceServer) ParseFile(context.Context, *ParseFile_Args) (*ParseFile_Result, error)
- func (*UnimplementedKclvmServiceServer) ParseProgram(context.Context, *ParseProgram_Args) (*ParseProgram_Result, error)
- func (*UnimplementedKclvmServiceServer) Ping(context.Context, *Ping_Args) (*Ping_Result, error)
- func (*UnimplementedKclvmServiceServer) Rename(context.Context, *Rename_Args) (*Rename_Result, error)
- func (*UnimplementedKclvmServiceServer) RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error)
- func (*UnimplementedKclvmServiceServer) Test(context.Context, *Test_Args) (*Test_Result, error)
- func (*UnimplementedKclvmServiceServer) ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error)
- type ValidateCode_Args
- func (*ValidateCode_Args) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateCode_Args) GetAttributeName() string
- func (x *ValidateCode_Args) GetCode() string
- func (x *ValidateCode_Args) GetData() string
- func (x *ValidateCode_Args) GetFile() string
- func (x *ValidateCode_Args) GetFormat() string
- func (x *ValidateCode_Args) GetSchema() string
- func (*ValidateCode_Args) ProtoMessage()
- func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message
- func (x *ValidateCode_Args) Reset()
- func (x *ValidateCode_Args) String() string
- type ValidateCode_Result
- func (*ValidateCode_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateCode_Result) GetErrMessage() string
- func (x *ValidateCode_Result) GetSuccess() bool
- func (*ValidateCode_Result) ProtoMessage()
- func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message
- func (x *ValidateCode_Result) Reset()
- func (x *ValidateCode_Result) String() string
Constants ¶
This section is empty.
Variables ¶
var File_gpyrpc_proto protoreflect.FileDescriptor
Functions ¶
func PROTORPC_AcceptBuiltinServiceClient ¶
func PROTORPC_AcceptBuiltinServiceClient(lis net.Listener, x PROTORPC_BuiltinService)
PROTORPC_AcceptBuiltinServiceClient accepts connections on the listener and serves requests for each incoming connection. Accept blocks; the caller typically invokes it in a go statement.
func PROTORPC_AcceptKclvmServiceClient ¶
func PROTORPC_AcceptKclvmServiceClient(lis net.Listener, x PROTORPC_KclvmService)
PROTORPC_AcceptKclvmServiceClient accepts connections on the listener and serves requests for each incoming connection. Accept blocks; the caller typically invokes it in a go statement.
func PROTORPC_ListenAndServeBuiltinService ¶
func PROTORPC_ListenAndServeBuiltinService(network, addr string, x PROTORPC_BuiltinService) error
PROTORPC_ListenAndServeBuiltinService listen announces on the local network address laddr and serves the given BuiltinService implementation.
func PROTORPC_ListenAndServeKclvmService ¶
func PROTORPC_ListenAndServeKclvmService(network, addr string, x PROTORPC_KclvmService) error
PROTORPC_ListenAndServeKclvmService listen announces on the local network address laddr and serves the given KclvmService implementation.
func PROTORPC_NewBuiltinServiceServer ¶
func PROTORPC_NewBuiltinServiceServer(x PROTORPC_BuiltinService) *rpc.Server
PROTORPC_NewBuiltinServiceServer returns a new PROTORPC_BuiltinService Server.
func PROTORPC_NewKclvmServiceServer ¶
func PROTORPC_NewKclvmServiceServer(x PROTORPC_KclvmService) *rpc.Server
PROTORPC_NewKclvmServiceServer returns a new PROTORPC_KclvmService Server.
func PROTORPC_RegisterBuiltinService ¶
func PROTORPC_RegisterBuiltinService(srv *rpc.Server, x PROTORPC_BuiltinService) error
PROTORPC_RegisterBuiltinService publish the given PROTORPC_BuiltinService implementation on the server.
func PROTORPC_RegisterKclvmService ¶
func PROTORPC_RegisterKclvmService(srv *rpc.Server, x PROTORPC_KclvmService) error
PROTORPC_RegisterKclvmService publish the given PROTORPC_KclvmService implementation on the server.
func PROTORPC_ServeBuiltinService ¶
func PROTORPC_ServeBuiltinService(conn io.ReadWriteCloser, x PROTORPC_BuiltinService)
PROTORPC_ServeBuiltinService serves the given PROTORPC_BuiltinService implementation.
func PROTORPC_ServeKclvmService ¶
func PROTORPC_ServeKclvmService(conn io.ReadWriteCloser, x PROTORPC_KclvmService)
PROTORPC_ServeKclvmService serves the given PROTORPC_KclvmService implementation.
func RegisterBuiltinServiceServer ¶
func RegisterBuiltinServiceServer(s *grpc.Server, srv BuiltinServiceServer)
func RegisterKclvmServiceServer ¶
func RegisterKclvmServiceServer(s *grpc.Server, srv KclvmServiceServer)
Types ¶
type BuiltinServiceClient ¶
type BuiltinServiceClient interface { Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error) ListMethod(ctx context.Context, in *ListMethod_Args, opts ...grpc.CallOption) (*ListMethod_Result, error) }
BuiltinServiceClient is the client API for BuiltinService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBuiltinServiceClient ¶
func NewBuiltinServiceClient(cc grpc.ClientConnInterface) BuiltinServiceClient
type BuiltinServiceServer ¶
type BuiltinServiceServer interface { Ping(context.Context, *Ping_Args) (*Ping_Result, error) ListMethod(context.Context, *ListMethod_Args) (*ListMethod_Result, error) }
BuiltinServiceServer is the server API for BuiltinService service.
type CliConfig ¶
type CliConfig struct { Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` Overrides []string `protobuf:"bytes,3,rep,name=overrides,proto3" json:"overrides,omitempty"` PathSelector []string `protobuf:"bytes,4,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"` StrictRangeCheck bool `protobuf:"varint,5,opt,name=strict_range_check,json=strictRangeCheck,proto3" json:"strict_range_check,omitempty"` DisableNone bool `protobuf:"varint,6,opt,name=disable_none,json=disableNone,proto3" json:"disable_none,omitempty"` Verbose int64 `protobuf:"varint,7,opt,name=verbose,proto3" json:"verbose,omitempty"` Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` SortKeys bool `protobuf:"varint,9,opt,name=sort_keys,json=sortKeys,proto3" json:"sort_keys,omitempty"` IncludeSchemaTypePath bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CliConfig) Descriptor
deprecated
func (*CliConfig) GetDisableNone ¶
func (*CliConfig) GetIncludeSchemaTypePath ¶ added in v0.5.4
func (*CliConfig) GetOverrides ¶
func (*CliConfig) GetPathSelector ¶
func (*CliConfig) GetSortKeys ¶
func (*CliConfig) GetStrictRangeCheck ¶
func (*CliConfig) GetVerbose ¶
func (*CliConfig) ProtoMessage ¶
func (*CliConfig) ProtoMessage()
func (*CliConfig) ProtoReflect ¶
func (x *CliConfig) ProtoReflect() protoreflect.Message
type CmdArgSpec ¶
type CmdArgSpec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
kcl main.k -D name=value
func (*CmdArgSpec) Descriptor
deprecated
func (*CmdArgSpec) Descriptor() ([]byte, []int)
Deprecated: Use CmdArgSpec.ProtoReflect.Descriptor instead.
func (*CmdArgSpec) GetName ¶
func (x *CmdArgSpec) GetName() string
func (*CmdArgSpec) GetValue ¶
func (x *CmdArgSpec) GetValue() string
func (*CmdArgSpec) ProtoMessage ¶
func (*CmdArgSpec) ProtoMessage()
func (*CmdArgSpec) ProtoReflect ¶
func (x *CmdArgSpec) ProtoReflect() protoreflect.Message
func (*CmdArgSpec) Reset ¶
func (x *CmdArgSpec) Reset()
func (*CmdArgSpec) String ¶
func (x *CmdArgSpec) String() string
type CmdExternalPkgSpec ¶
type CmdExternalPkgSpec struct { PkgName string `protobuf:"bytes,1,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` PkgPath string `protobuf:"bytes,2,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` // contains filtered or unexported fields }
kcl main.k -E pkg_name=pkg_path
func (*CmdExternalPkgSpec) Descriptor
deprecated
func (*CmdExternalPkgSpec) Descriptor() ([]byte, []int)
Deprecated: Use CmdExternalPkgSpec.ProtoReflect.Descriptor instead.
func (*CmdExternalPkgSpec) GetPkgName ¶
func (x *CmdExternalPkgSpec) GetPkgName() string
func (*CmdExternalPkgSpec) GetPkgPath ¶
func (x *CmdExternalPkgSpec) GetPkgPath() string
func (*CmdExternalPkgSpec) ProtoMessage ¶
func (*CmdExternalPkgSpec) ProtoMessage()
func (*CmdExternalPkgSpec) ProtoReflect ¶
func (x *CmdExternalPkgSpec) ProtoReflect() protoreflect.Message
func (*CmdExternalPkgSpec) Reset ¶
func (x *CmdExternalPkgSpec) Reset()
func (*CmdExternalPkgSpec) String ¶
func (x *CmdExternalPkgSpec) String() string
type CmdOverrideSpec ¶
type CmdOverrideSpec struct { Pkgpath string `protobuf:"bytes,1,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"` FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` FieldValue string `protobuf:"bytes,3,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"` Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
kcl main.k -O pkgpath:path.to.field=field_value
func (*CmdOverrideSpec) Descriptor
deprecated
func (*CmdOverrideSpec) Descriptor() ([]byte, []int)
Deprecated: Use CmdOverrideSpec.ProtoReflect.Descriptor instead.
func (*CmdOverrideSpec) GetAction ¶
func (x *CmdOverrideSpec) GetAction() string
func (*CmdOverrideSpec) GetFieldPath ¶
func (x *CmdOverrideSpec) GetFieldPath() string
func (*CmdOverrideSpec) GetFieldValue ¶
func (x *CmdOverrideSpec) GetFieldValue() string
func (*CmdOverrideSpec) GetPkgpath ¶
func (x *CmdOverrideSpec) GetPkgpath() string
func (*CmdOverrideSpec) ProtoMessage ¶
func (*CmdOverrideSpec) ProtoMessage()
func (*CmdOverrideSpec) ProtoReflect ¶
func (x *CmdOverrideSpec) ProtoReflect() protoreflect.Message
func (*CmdOverrideSpec) Reset ¶
func (x *CmdOverrideSpec) Reset()
func (*CmdOverrideSpec) String ¶
func (x *CmdOverrideSpec) String() string
type Decorator ¶
type Decorator struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Arguments []string `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` Keywords map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Decorator) Descriptor
deprecated
func (*Decorator) GetArguments ¶
func (*Decorator) GetKeywords ¶
func (*Decorator) ProtoMessage ¶
func (*Decorator) ProtoMessage()
func (*Decorator) ProtoReflect ¶
func (x *Decorator) ProtoReflect() protoreflect.Message
type Error ¶ added in v0.7.3
type Error struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
added in
v0.7.3
func (*Error) GetMessages ¶ added in v0.7.3
func (*Error) ProtoMessage ¶ added in v0.7.3
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v0.7.3
func (x *Error) ProtoReflect() protoreflect.Message
type Example ¶ added in v0.5.2
type Example struct { Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // Short description for the example. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Long description for the example. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Embedded literal example. // contains filtered or unexported fields }
func (*Example) Descriptor
deprecated
added in
v0.5.2
func (*Example) GetDescription ¶ added in v0.5.2
func (*Example) GetSummary ¶ added in v0.5.2
func (*Example) ProtoMessage ¶ added in v0.5.2
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶ added in v0.5.2
func (x *Example) ProtoReflect() protoreflect.Message
type ExecProgram_Args ¶
type ExecProgram_Args struct { WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` KFilenameList []string `protobuf:"bytes,2,rep,name=k_filename_list,json=kFilenameList,proto3" json:"k_filename_list,omitempty"` KCodeList []string `protobuf:"bytes,3,rep,name=k_code_list,json=kCodeList,proto3" json:"k_code_list,omitempty"` Args []*CmdArgSpec `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` Overrides []*CmdOverrideSpec `protobuf:"bytes,5,rep,name=overrides,proto3" json:"overrides,omitempty"` DisableYamlResult bool `protobuf:"varint,6,opt,name=disable_yaml_result,json=disableYamlResult,proto3" json:"disable_yaml_result,omitempty"` PrintOverrideAst bool `protobuf:"varint,7,opt,name=print_override_ast,json=printOverrideAst,proto3" json:"print_override_ast,omitempty"` // -r --strict-range-check StrictRangeCheck bool `protobuf:"varint,8,opt,name=strict_range_check,json=strictRangeCheck,proto3" json:"strict_range_check,omitempty"` // -n --disable-none DisableNone bool `protobuf:"varint,9,opt,name=disable_none,json=disableNone,proto3" json:"disable_none,omitempty"` // -v --verbose Verbose int32 `protobuf:"varint,10,opt,name=verbose,proto3" json:"verbose,omitempty"` // -d --debug Debug int32 `protobuf:"varint,11,opt,name=debug,proto3" json:"debug,omitempty"` // yaml/json: sort keys SortKeys bool `protobuf:"varint,12,opt,name=sort_keys,json=sortKeys,proto3" json:"sort_keys,omitempty"` // -E --external : external packages path ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,13,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` // Whether including schema type in JSON/YAML result IncludeSchemaTypePath bool `` /* 130-byte string literal not displayed */ // Whether only compiling the program CompileOnly bool `protobuf:"varint,15,opt,name=compile_only,json=compileOnly,proto3" json:"compile_only,omitempty"` // -S --path_selector PathSelector []string `protobuf:"bytes,17,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"` // contains filtered or unexported fields }
func (*ExecProgram_Args) Descriptor
deprecated
func (*ExecProgram_Args) Descriptor() ([]byte, []int)
Deprecated: Use ExecProgram_Args.ProtoReflect.Descriptor instead.
func (*ExecProgram_Args) GetArgs ¶
func (x *ExecProgram_Args) GetArgs() []*CmdArgSpec
func (*ExecProgram_Args) GetCompileOnly ¶ added in v0.6.1
func (x *ExecProgram_Args) GetCompileOnly() bool
func (*ExecProgram_Args) GetDebug ¶
func (x *ExecProgram_Args) GetDebug() int32
func (*ExecProgram_Args) GetDisableNone ¶
func (x *ExecProgram_Args) GetDisableNone() bool
func (*ExecProgram_Args) GetDisableYamlResult ¶
func (x *ExecProgram_Args) GetDisableYamlResult() bool
func (*ExecProgram_Args) GetExternalPkgs ¶
func (x *ExecProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec
func (*ExecProgram_Args) GetIncludeSchemaTypePath ¶
func (x *ExecProgram_Args) GetIncludeSchemaTypePath() bool
func (*ExecProgram_Args) GetKCodeList ¶
func (x *ExecProgram_Args) GetKCodeList() []string
func (*ExecProgram_Args) GetKFilenameList ¶
func (x *ExecProgram_Args) GetKFilenameList() []string
func (*ExecProgram_Args) GetOverrides ¶
func (x *ExecProgram_Args) GetOverrides() []*CmdOverrideSpec
func (*ExecProgram_Args) GetPathSelector ¶ added in v0.7.0
func (x *ExecProgram_Args) GetPathSelector() []string
func (*ExecProgram_Args) GetPrintOverrideAst ¶
func (x *ExecProgram_Args) GetPrintOverrideAst() bool
func (*ExecProgram_Args) GetSortKeys ¶
func (x *ExecProgram_Args) GetSortKeys() bool
func (*ExecProgram_Args) GetStrictRangeCheck ¶
func (x *ExecProgram_Args) GetStrictRangeCheck() bool
func (*ExecProgram_Args) GetVerbose ¶
func (x *ExecProgram_Args) GetVerbose() int32
func (*ExecProgram_Args) GetWorkDir ¶
func (x *ExecProgram_Args) GetWorkDir() string
func (*ExecProgram_Args) ProtoMessage ¶
func (*ExecProgram_Args) ProtoMessage()
func (*ExecProgram_Args) ProtoReflect ¶
func (x *ExecProgram_Args) ProtoReflect() protoreflect.Message
func (*ExecProgram_Args) Reset ¶
func (x *ExecProgram_Args) Reset()
func (*ExecProgram_Args) String ¶
func (x *ExecProgram_Args) String() string
type ExecProgram_Result ¶
type ExecProgram_Result struct { JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3" json:"json_result,omitempty"` YamlResult string `protobuf:"bytes,2,opt,name=yaml_result,json=yamlResult,proto3" json:"yaml_result,omitempty"` LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` ErrMessage string `protobuf:"bytes,4,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` // contains filtered or unexported fields }
func (*ExecProgram_Result) Descriptor
deprecated
func (*ExecProgram_Result) Descriptor() ([]byte, []int)
Deprecated: Use ExecProgram_Result.ProtoReflect.Descriptor instead.
func (*ExecProgram_Result) GetErrMessage ¶ added in v0.7.0
func (x *ExecProgram_Result) GetErrMessage() string
func (*ExecProgram_Result) GetJsonResult ¶
func (x *ExecProgram_Result) GetJsonResult() string
func (*ExecProgram_Result) GetLogMessage ¶ added in v0.7.0
func (x *ExecProgram_Result) GetLogMessage() string
func (*ExecProgram_Result) GetYamlResult ¶
func (x *ExecProgram_Result) GetYamlResult() string
func (*ExecProgram_Result) ProtoMessage ¶
func (*ExecProgram_Result) ProtoMessage()
func (*ExecProgram_Result) ProtoReflect ¶
func (x *ExecProgram_Result) ProtoReflect() protoreflect.Message
func (*ExecProgram_Result) Reset ¶
func (x *ExecProgram_Result) Reset()
func (*ExecProgram_Result) String ¶
func (x *ExecProgram_Result) String() string
type FormatCode_Args ¶
type FormatCode_Args struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*FormatCode_Args) Descriptor
deprecated
func (*FormatCode_Args) Descriptor() ([]byte, []int)
Deprecated: Use FormatCode_Args.ProtoReflect.Descriptor instead.
func (*FormatCode_Args) GetSource ¶
func (x *FormatCode_Args) GetSource() string
func (*FormatCode_Args) ProtoMessage ¶
func (*FormatCode_Args) ProtoMessage()
func (*FormatCode_Args) ProtoReflect ¶
func (x *FormatCode_Args) ProtoReflect() protoreflect.Message
func (*FormatCode_Args) Reset ¶
func (x *FormatCode_Args) Reset()
func (*FormatCode_Args) String ¶
func (x *FormatCode_Args) String() string
type FormatCode_Result ¶
type FormatCode_Result struct { Formatted []byte `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"` // contains filtered or unexported fields }
func (*FormatCode_Result) Descriptor
deprecated
func (*FormatCode_Result) Descriptor() ([]byte, []int)
Deprecated: Use FormatCode_Result.ProtoReflect.Descriptor instead.
func (*FormatCode_Result) GetFormatted ¶
func (x *FormatCode_Result) GetFormatted() []byte
func (*FormatCode_Result) ProtoMessage ¶
func (*FormatCode_Result) ProtoMessage()
func (*FormatCode_Result) ProtoReflect ¶
func (x *FormatCode_Result) ProtoReflect() protoreflect.Message
func (*FormatCode_Result) Reset ¶
func (x *FormatCode_Result) Reset()
func (*FormatCode_Result) String ¶
func (x *FormatCode_Result) String() string
type FormatPath_Args ¶
type FormatPath_Args struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*FormatPath_Args) Descriptor
deprecated
func (*FormatPath_Args) Descriptor() ([]byte, []int)
Deprecated: Use FormatPath_Args.ProtoReflect.Descriptor instead.
func (*FormatPath_Args) GetPath ¶
func (x *FormatPath_Args) GetPath() string
func (*FormatPath_Args) ProtoMessage ¶
func (*FormatPath_Args) ProtoMessage()
func (*FormatPath_Args) ProtoReflect ¶
func (x *FormatPath_Args) ProtoReflect() protoreflect.Message
func (*FormatPath_Args) Reset ¶
func (x *FormatPath_Args) Reset()
func (*FormatPath_Args) String ¶
func (x *FormatPath_Args) String() string
type FormatPath_Result ¶
type FormatPath_Result struct { ChangedPaths []string `protobuf:"bytes,1,rep,name=changed_paths,json=changedPaths,proto3" json:"changed_paths,omitempty"` // contains filtered or unexported fields }
func (*FormatPath_Result) Descriptor
deprecated
func (*FormatPath_Result) Descriptor() ([]byte, []int)
Deprecated: Use FormatPath_Result.ProtoReflect.Descriptor instead.
func (*FormatPath_Result) GetChangedPaths ¶
func (x *FormatPath_Result) GetChangedPaths() []string
func (*FormatPath_Result) ProtoMessage ¶
func (*FormatPath_Result) ProtoMessage()
func (*FormatPath_Result) ProtoReflect ¶
func (x *FormatPath_Result) ProtoReflect() protoreflect.Message
func (*FormatPath_Result) Reset ¶
func (x *FormatPath_Result) Reset()
func (*FormatPath_Result) String ¶
func (x *FormatPath_Result) String() string
type GetFullSchemaType_Args ¶ added in v0.7.0
type GetFullSchemaType_Args struct { ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // contains filtered or unexported fields }
func (*GetFullSchemaType_Args) Descriptor
deprecated
added in
v0.7.0
func (*GetFullSchemaType_Args) Descriptor() ([]byte, []int)
Deprecated: Use GetFullSchemaType_Args.ProtoReflect.Descriptor instead.
func (*GetFullSchemaType_Args) GetExecArgs ¶ added in v0.7.0
func (x *GetFullSchemaType_Args) GetExecArgs() *ExecProgram_Args
func (*GetFullSchemaType_Args) GetSchemaName ¶ added in v0.7.0
func (x *GetFullSchemaType_Args) GetSchemaName() string
func (*GetFullSchemaType_Args) ProtoMessage ¶ added in v0.7.0
func (*GetFullSchemaType_Args) ProtoMessage()
func (*GetFullSchemaType_Args) ProtoReflect ¶ added in v0.7.0
func (x *GetFullSchemaType_Args) ProtoReflect() protoreflect.Message
func (*GetFullSchemaType_Args) Reset ¶ added in v0.7.0
func (x *GetFullSchemaType_Args) Reset()
func (*GetFullSchemaType_Args) String ¶ added in v0.7.0
func (x *GetFullSchemaType_Args) String() string
type GetSchemaTypeMapping_Args ¶
type GetSchemaTypeMapping_Args struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` SchemaName string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaTypeMapping_Args) Descriptor
deprecated
func (*GetSchemaTypeMapping_Args) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaTypeMapping_Args.ProtoReflect.Descriptor instead.
func (*GetSchemaTypeMapping_Args) GetCode ¶
func (x *GetSchemaTypeMapping_Args) GetCode() string
func (*GetSchemaTypeMapping_Args) GetFile ¶
func (x *GetSchemaTypeMapping_Args) GetFile() string
func (*GetSchemaTypeMapping_Args) GetSchemaName ¶
func (x *GetSchemaTypeMapping_Args) GetSchemaName() string
func (*GetSchemaTypeMapping_Args) ProtoMessage ¶
func (*GetSchemaTypeMapping_Args) ProtoMessage()
func (*GetSchemaTypeMapping_Args) ProtoReflect ¶
func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message
func (*GetSchemaTypeMapping_Args) Reset ¶
func (x *GetSchemaTypeMapping_Args) Reset()
func (*GetSchemaTypeMapping_Args) String ¶
func (x *GetSchemaTypeMapping_Args) String() string
type GetSchemaTypeMapping_Result ¶
type GetSchemaTypeMapping_Result struct { SchemaTypeMapping map[string]*KclType `` /* 202-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSchemaTypeMapping_Result) Descriptor
deprecated
func (*GetSchemaTypeMapping_Result) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaTypeMapping_Result.ProtoReflect.Descriptor instead.
func (*GetSchemaTypeMapping_Result) GetSchemaTypeMapping ¶
func (x *GetSchemaTypeMapping_Result) GetSchemaTypeMapping() map[string]*KclType
func (*GetSchemaTypeMapping_Result) ProtoMessage ¶
func (*GetSchemaTypeMapping_Result) ProtoMessage()
func (*GetSchemaTypeMapping_Result) ProtoReflect ¶
func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message
func (*GetSchemaTypeMapping_Result) Reset ¶
func (x *GetSchemaTypeMapping_Result) Reset()
func (*GetSchemaTypeMapping_Result) String ¶
func (x *GetSchemaTypeMapping_Result) String() string
type GetSchemaType_Args ¶
type GetSchemaType_Args struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` SchemaName string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaType_Args) Descriptor
deprecated
func (*GetSchemaType_Args) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaType_Args.ProtoReflect.Descriptor instead.
func (*GetSchemaType_Args) GetCode ¶
func (x *GetSchemaType_Args) GetCode() string
func (*GetSchemaType_Args) GetFile ¶
func (x *GetSchemaType_Args) GetFile() string
func (*GetSchemaType_Args) GetSchemaName ¶
func (x *GetSchemaType_Args) GetSchemaName() string
func (*GetSchemaType_Args) ProtoMessage ¶
func (*GetSchemaType_Args) ProtoMessage()
func (*GetSchemaType_Args) ProtoReflect ¶
func (x *GetSchemaType_Args) ProtoReflect() protoreflect.Message
func (*GetSchemaType_Args) Reset ¶
func (x *GetSchemaType_Args) Reset()
func (*GetSchemaType_Args) String ¶
func (x *GetSchemaType_Args) String() string
type GetSchemaType_Result ¶
type GetSchemaType_Result struct { SchemaTypeList []*KclType `protobuf:"bytes,1,rep,name=schema_type_list,json=schemaTypeList,proto3" json:"schema_type_list,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaType_Result) Descriptor
deprecated
func (*GetSchemaType_Result) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaType_Result.ProtoReflect.Descriptor instead.
func (*GetSchemaType_Result) GetSchemaTypeList ¶
func (x *GetSchemaType_Result) GetSchemaTypeList() []*KclType
func (*GetSchemaType_Result) ProtoMessage ¶
func (*GetSchemaType_Result) ProtoMessage()
func (*GetSchemaType_Result) ProtoReflect ¶
func (x *GetSchemaType_Result) ProtoReflect() protoreflect.Message
func (*GetSchemaType_Result) Reset ¶
func (x *GetSchemaType_Result) Reset()
func (*GetSchemaType_Result) String ¶
func (x *GetSchemaType_Result) String() string
type KclType ¶
type KclType struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // schema, dict, list, str, int, float, bool, any, union, number_multiplier UnionTypes []*KclType `protobuf:"bytes,2,rep,name=union_types,json=unionTypes,proto3" json:"union_types,omitempty"` // union types Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` // default value SchemaName string `protobuf:"bytes,4,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // schema name SchemaDoc string `protobuf:"bytes,5,opt,name=schema_doc,json=schemaDoc,proto3" json:"schema_doc,omitempty"` // schema doc Properties map[string]*KclType `` // schema properties /* 161-byte string literal not displayed */ Required []string `protobuf:"bytes,7,rep,name=required,proto3" json:"required,omitempty"` // required schema properties, [property_name1, property_name2] Key *KclType `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"` // dict key type Item *KclType `protobuf:"bytes,9,opt,name=item,proto3" json:"item,omitempty"` // dict/list item type Line int32 `protobuf:"varint,10,opt,name=line,proto3" json:"line,omitempty"` Decorators []*Decorator `protobuf:"bytes,11,rep,name=decorators,proto3" json:"decorators,omitempty"` // schema decorators Filename string `protobuf:"bytes,12,opt,name=filename,proto3" json:"filename,omitempty"` // `filename` represents the absolute path of the file name where the attribute is located. PkgPath string `protobuf:"bytes,13,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` // `pkg_path` represents the path name of the package where the attribute is located. Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"` // `description` represents the document of the attribute. Examples map[string]*Example `` // A map object to hold examples, the key is the example name. /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KclType) Descriptor
deprecated
func (*KclType) GetDecorators ¶
func (*KclType) GetDefault ¶
func (*KclType) GetDescription ¶ added in v0.5.2
func (*KclType) GetExamples ¶ added in v0.5.2
func (*KclType) GetFilename ¶ added in v0.5.2
func (*KclType) GetPkgPath ¶ added in v0.5.2
func (*KclType) GetProperties ¶
func (*KclType) GetRequired ¶
func (*KclType) GetSchemaDoc ¶
func (*KclType) GetSchemaName ¶
func (*KclType) GetUnionTypes ¶
func (*KclType) ProtoMessage ¶
func (*KclType) ProtoMessage()
func (*KclType) ProtoReflect ¶
func (x *KclType) ProtoReflect() protoreflect.Message
type KclvmServiceClient ¶
type KclvmServiceClient interface { Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error) ExecProgram(ctx context.Context, in *ExecProgram_Args, opts ...grpc.CallOption) (*ExecProgram_Result, error) ParseFile(ctx context.Context, in *ParseFile_Args, opts ...grpc.CallOption) (*ParseFile_Result, error) ParseProgram(ctx context.Context, in *ParseProgram_Args, opts ...grpc.CallOption) (*ParseProgram_Result, error) LoadPackage(ctx context.Context, in *LoadPackage_Args, opts ...grpc.CallOption) (*LoadPackage_Result, error) FormatCode(ctx context.Context, in *FormatCode_Args, opts ...grpc.CallOption) (*FormatCode_Result, error) FormatPath(ctx context.Context, in *FormatPath_Args, opts ...grpc.CallOption) (*FormatPath_Result, error) LintPath(ctx context.Context, in *LintPath_Args, opts ...grpc.CallOption) (*LintPath_Result, error) OverrideFile(ctx context.Context, in *OverrideFile_Args, opts ...grpc.CallOption) (*OverrideFile_Result, error) GetSchemaType(ctx context.Context, in *GetSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) GetFullSchemaType(ctx context.Context, in *GetFullSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) GetSchemaTypeMapping(ctx context.Context, in *GetSchemaTypeMapping_Args, opts ...grpc.CallOption) (*GetSchemaTypeMapping_Result, error) ValidateCode(ctx context.Context, in *ValidateCode_Args, opts ...grpc.CallOption) (*ValidateCode_Result, error) ListDepFiles(ctx context.Context, in *ListDepFiles_Args, opts ...grpc.CallOption) (*ListDepFiles_Result, error) LoadSettingsFiles(ctx context.Context, in *LoadSettingsFiles_Args, opts ...grpc.CallOption) (*LoadSettingsFiles_Result, error) Rename(ctx context.Context, in *Rename_Args, opts ...grpc.CallOption) (*Rename_Result, error) RenameCode(ctx context.Context, in *RenameCode_Args, opts ...grpc.CallOption) (*RenameCode_Result, error) Test(ctx context.Context, in *Test_Args, opts ...grpc.CallOption) (*Test_Result, error) }
KclvmServiceClient is the client API for KclvmService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKclvmServiceClient ¶
func NewKclvmServiceClient(cc grpc.ClientConnInterface) KclvmServiceClient
type KclvmServiceServer ¶
type KclvmServiceServer interface { Ping(context.Context, *Ping_Args) (*Ping_Result, error) ExecProgram(context.Context, *ExecProgram_Args) (*ExecProgram_Result, error) ParseFile(context.Context, *ParseFile_Args) (*ParseFile_Result, error) ParseProgram(context.Context, *ParseProgram_Args) (*ParseProgram_Result, error) LoadPackage(context.Context, *LoadPackage_Args) (*LoadPackage_Result, error) FormatCode(context.Context, *FormatCode_Args) (*FormatCode_Result, error) FormatPath(context.Context, *FormatPath_Args) (*FormatPath_Result, error) LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error) OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error) GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error) GetFullSchemaType(context.Context, *GetFullSchemaType_Args) (*GetSchemaType_Result, error) GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error) ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error) ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error) LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error) Rename(context.Context, *Rename_Args) (*Rename_Result, error) RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error) Test(context.Context, *Test_Args) (*Test_Result, error) }
KclvmServiceServer is the server API for KclvmService service.
type KeyValuePair ¶
type KeyValuePair struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValuePair) Descriptor
deprecated
func (*KeyValuePair) Descriptor() ([]byte, []int)
Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead.
func (*KeyValuePair) GetKey ¶
func (x *KeyValuePair) GetKey() string
func (*KeyValuePair) GetValue ¶
func (x *KeyValuePair) GetValue() string
func (*KeyValuePair) ProtoMessage ¶
func (*KeyValuePair) ProtoMessage()
func (*KeyValuePair) ProtoReflect ¶
func (x *KeyValuePair) ProtoReflect() protoreflect.Message
func (*KeyValuePair) Reset ¶
func (x *KeyValuePair) Reset()
func (*KeyValuePair) String ¶
func (x *KeyValuePair) String() string
type LintPath_Args ¶
type LintPath_Args struct { Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*LintPath_Args) Descriptor
deprecated
func (*LintPath_Args) Descriptor() ([]byte, []int)
Deprecated: Use LintPath_Args.ProtoReflect.Descriptor instead.
func (*LintPath_Args) GetPaths ¶
func (x *LintPath_Args) GetPaths() []string
func (*LintPath_Args) ProtoMessage ¶
func (*LintPath_Args) ProtoMessage()
func (*LintPath_Args) ProtoReflect ¶
func (x *LintPath_Args) ProtoReflect() protoreflect.Message
func (*LintPath_Args) Reset ¶
func (x *LintPath_Args) Reset()
func (*LintPath_Args) String ¶
func (x *LintPath_Args) String() string
type LintPath_Result ¶
type LintPath_Result struct { Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*LintPath_Result) Descriptor
deprecated
func (*LintPath_Result) Descriptor() ([]byte, []int)
Deprecated: Use LintPath_Result.ProtoReflect.Descriptor instead.
func (*LintPath_Result) GetResults ¶
func (x *LintPath_Result) GetResults() []string
func (*LintPath_Result) ProtoMessage ¶
func (*LintPath_Result) ProtoMessage()
func (*LintPath_Result) ProtoReflect ¶
func (x *LintPath_Result) ProtoReflect() protoreflect.Message
func (*LintPath_Result) Reset ¶
func (x *LintPath_Result) Reset()
func (*LintPath_Result) String ¶
func (x *LintPath_Result) String() string
type ListDepFiles_Args ¶
type ListDepFiles_Args struct { WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` UseAbsPath bool `protobuf:"varint,2,opt,name=use_abs_path,json=useAbsPath,proto3" json:"use_abs_path,omitempty"` IncludeAll bool `protobuf:"varint,3,opt,name=include_all,json=includeAll,proto3" json:"include_all,omitempty"` UseFastParser bool `protobuf:"varint,4,opt,name=use_fast_parser,json=useFastParser,proto3" json:"use_fast_parser,omitempty"` // contains filtered or unexported fields }
func (*ListDepFiles_Args) Descriptor
deprecated
func (*ListDepFiles_Args) Descriptor() ([]byte, []int)
Deprecated: Use ListDepFiles_Args.ProtoReflect.Descriptor instead.
func (*ListDepFiles_Args) GetIncludeAll ¶
func (x *ListDepFiles_Args) GetIncludeAll() bool
func (*ListDepFiles_Args) GetUseAbsPath ¶
func (x *ListDepFiles_Args) GetUseAbsPath() bool
func (*ListDepFiles_Args) GetUseFastParser ¶
func (x *ListDepFiles_Args) GetUseFastParser() bool
func (*ListDepFiles_Args) GetWorkDir ¶
func (x *ListDepFiles_Args) GetWorkDir() string
func (*ListDepFiles_Args) ProtoMessage ¶
func (*ListDepFiles_Args) ProtoMessage()
func (*ListDepFiles_Args) ProtoReflect ¶
func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message
func (*ListDepFiles_Args) Reset ¶
func (x *ListDepFiles_Args) Reset()
func (*ListDepFiles_Args) String ¶
func (x *ListDepFiles_Args) String() string
type ListDepFiles_Result ¶
type ListDepFiles_Result struct { Pkgroot string `protobuf:"bytes,1,opt,name=pkgroot,proto3" json:"pkgroot,omitempty"` Pkgpath string `protobuf:"bytes,2,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"` Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*ListDepFiles_Result) Descriptor
deprecated
func (*ListDepFiles_Result) Descriptor() ([]byte, []int)
Deprecated: Use ListDepFiles_Result.ProtoReflect.Descriptor instead.
func (*ListDepFiles_Result) GetFiles ¶
func (x *ListDepFiles_Result) GetFiles() []string
func (*ListDepFiles_Result) GetPkgpath ¶
func (x *ListDepFiles_Result) GetPkgpath() string
func (*ListDepFiles_Result) GetPkgroot ¶
func (x *ListDepFiles_Result) GetPkgroot() string
func (*ListDepFiles_Result) ProtoMessage ¶
func (*ListDepFiles_Result) ProtoMessage()
func (*ListDepFiles_Result) ProtoReflect ¶
func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message
func (*ListDepFiles_Result) Reset ¶
func (x *ListDepFiles_Result) Reset()
func (*ListDepFiles_Result) String ¶
func (x *ListDepFiles_Result) String() string
type ListMethod_Args ¶
type ListMethod_Args struct {
// contains filtered or unexported fields
}
func (*ListMethod_Args) Descriptor
deprecated
func (*ListMethod_Args) Descriptor() ([]byte, []int)
Deprecated: Use ListMethod_Args.ProtoReflect.Descriptor instead.
func (*ListMethod_Args) ProtoMessage ¶
func (*ListMethod_Args) ProtoMessage()
func (*ListMethod_Args) ProtoReflect ¶
func (x *ListMethod_Args) ProtoReflect() protoreflect.Message
func (*ListMethod_Args) Reset ¶
func (x *ListMethod_Args) Reset()
func (*ListMethod_Args) String ¶
func (x *ListMethod_Args) String() string
type ListMethod_Result ¶
type ListMethod_Result struct { MethodNameList []string `protobuf:"bytes,1,rep,name=method_name_list,json=methodNameList,proto3" json:"method_name_list,omitempty"` // contains filtered or unexported fields }
func (*ListMethod_Result) Descriptor
deprecated
func (*ListMethod_Result) Descriptor() ([]byte, []int)
Deprecated: Use ListMethod_Result.ProtoReflect.Descriptor instead.
func (*ListMethod_Result) GetMethodNameList ¶
func (x *ListMethod_Result) GetMethodNameList() []string
func (*ListMethod_Result) ProtoMessage ¶
func (*ListMethod_Result) ProtoMessage()
func (*ListMethod_Result) ProtoReflect ¶
func (x *ListMethod_Result) ProtoReflect() protoreflect.Message
func (*ListMethod_Result) Reset ¶
func (x *ListMethod_Result) Reset()
func (*ListMethod_Result) String ¶
func (x *ListMethod_Result) String() string
type LoadPackage_Args ¶ added in v0.7.5
type LoadPackage_Args struct { ParseArgs *ParseProgram_Args `protobuf:"bytes,1,opt,name=parse_args,json=parseArgs,proto3" json:"parse_args,omitempty"` ResolveAst bool `protobuf:"varint,2,opt,name=resolve_ast,json=resolveAst,proto3" json:"resolve_ast,omitempty"` LoadBuiltin bool `protobuf:"varint,3,opt,name=load_builtin,json=loadBuiltin,proto3" json:"load_builtin,omitempty"` WithAstIndex bool `protobuf:"varint,4,opt,name=with_ast_index,json=withAstIndex,proto3" json:"with_ast_index,omitempty"` // contains filtered or unexported fields }
func (*LoadPackage_Args) Descriptor
deprecated
added in
v0.7.5
func (*LoadPackage_Args) Descriptor() ([]byte, []int)
Deprecated: Use LoadPackage_Args.ProtoReflect.Descriptor instead.
func (*LoadPackage_Args) GetLoadBuiltin ¶ added in v0.7.5
func (x *LoadPackage_Args) GetLoadBuiltin() bool
func (*LoadPackage_Args) GetParseArgs ¶ added in v0.7.5
func (x *LoadPackage_Args) GetParseArgs() *ParseProgram_Args
func (*LoadPackage_Args) GetResolveAst ¶ added in v0.7.5
func (x *LoadPackage_Args) GetResolveAst() bool
func (*LoadPackage_Args) GetWithAstIndex ¶ added in v0.7.5
func (x *LoadPackage_Args) GetWithAstIndex() bool
func (*LoadPackage_Args) ProtoMessage ¶ added in v0.7.5
func (*LoadPackage_Args) ProtoMessage()
func (*LoadPackage_Args) ProtoReflect ¶ added in v0.7.5
func (x *LoadPackage_Args) ProtoReflect() protoreflect.Message
func (*LoadPackage_Args) Reset ¶ added in v0.7.5
func (x *LoadPackage_Args) Reset()
func (*LoadPackage_Args) String ¶ added in v0.7.5
func (x *LoadPackage_Args) String() string
type LoadPackage_Result ¶ added in v0.7.5
type LoadPackage_Result struct { Program string `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` // JSON string value Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // Returns the files in the order they should be compiled ParseErrors []*Error `protobuf:"bytes,3,rep,name=parse_errors,json=parseErrors,proto3" json:"parse_errors,omitempty"` // Parse errors TypeErrors []*Error `protobuf:"bytes,4,rep,name=type_errors,json=typeErrors,proto3" json:"type_errors,omitempty"` // Type errors Scopes map[string]*Scope `` // Map key is the ScopeIndex json string. /* 153-byte string literal not displayed */ Symbols map[string]*Symbol `` // Map key is the SymbolIndex json string. /* 155-byte string literal not displayed */ NodeSymbolMap map[string]*SymbolIndex `` // Map key is the AST index UUID string. /* 190-byte string literal not displayed */ SymbolNodeMap map[string]string `` // Map key is the SymbolIndex json string. /* 190-byte string literal not displayed */ FullyQualifiedNameMap map[string]*SymbolIndex `` // Map key is the fully_qualified_name e.g. `pkg.Name` /* 216-byte string literal not displayed */ PkgScopeMap map[string]*ScopeIndex `` // Map key is the package path. /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LoadPackage_Result) Descriptor
deprecated
added in
v0.7.5
func (*LoadPackage_Result) Descriptor() ([]byte, []int)
Deprecated: Use LoadPackage_Result.ProtoReflect.Descriptor instead.
func (*LoadPackage_Result) GetFullyQualifiedNameMap ¶ added in v0.7.5
func (x *LoadPackage_Result) GetFullyQualifiedNameMap() map[string]*SymbolIndex
func (*LoadPackage_Result) GetNodeSymbolMap ¶ added in v0.7.5
func (x *LoadPackage_Result) GetNodeSymbolMap() map[string]*SymbolIndex
func (*LoadPackage_Result) GetParseErrors ¶ added in v0.7.5
func (x *LoadPackage_Result) GetParseErrors() []*Error
func (*LoadPackage_Result) GetPaths ¶ added in v0.7.5
func (x *LoadPackage_Result) GetPaths() []string
func (*LoadPackage_Result) GetPkgScopeMap ¶ added in v0.7.5
func (x *LoadPackage_Result) GetPkgScopeMap() map[string]*ScopeIndex
func (*LoadPackage_Result) GetProgram ¶ added in v0.7.5
func (x *LoadPackage_Result) GetProgram() string
func (*LoadPackage_Result) GetScopes ¶ added in v0.7.5
func (x *LoadPackage_Result) GetScopes() map[string]*Scope
func (*LoadPackage_Result) GetSymbolNodeMap ¶ added in v0.7.5
func (x *LoadPackage_Result) GetSymbolNodeMap() map[string]string
func (*LoadPackage_Result) GetSymbols ¶ added in v0.7.5
func (x *LoadPackage_Result) GetSymbols() map[string]*Symbol
func (*LoadPackage_Result) GetTypeErrors ¶ added in v0.7.5
func (x *LoadPackage_Result) GetTypeErrors() []*Error
func (*LoadPackage_Result) ProtoMessage ¶ added in v0.7.5
func (*LoadPackage_Result) ProtoMessage()
func (*LoadPackage_Result) ProtoReflect ¶ added in v0.7.5
func (x *LoadPackage_Result) ProtoReflect() protoreflect.Message
func (*LoadPackage_Result) Reset ¶ added in v0.7.5
func (x *LoadPackage_Result) Reset()
func (*LoadPackage_Result) String ¶ added in v0.7.5
func (x *LoadPackage_Result) String() string
type LoadSettingsFiles_Args ¶
type LoadSettingsFiles_Args struct { WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*LoadSettingsFiles_Args) Descriptor
deprecated
func (*LoadSettingsFiles_Args) Descriptor() ([]byte, []int)
Deprecated: Use LoadSettingsFiles_Args.ProtoReflect.Descriptor instead.
func (*LoadSettingsFiles_Args) GetFiles ¶
func (x *LoadSettingsFiles_Args) GetFiles() []string
func (*LoadSettingsFiles_Args) GetWorkDir ¶
func (x *LoadSettingsFiles_Args) GetWorkDir() string
func (*LoadSettingsFiles_Args) ProtoMessage ¶
func (*LoadSettingsFiles_Args) ProtoMessage()
func (*LoadSettingsFiles_Args) ProtoReflect ¶
func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message
func (*LoadSettingsFiles_Args) Reset ¶
func (x *LoadSettingsFiles_Args) Reset()
func (*LoadSettingsFiles_Args) String ¶
func (x *LoadSettingsFiles_Args) String() string
type LoadSettingsFiles_Result ¶
type LoadSettingsFiles_Result struct { KclCliConfigs *CliConfig `protobuf:"bytes,1,opt,name=kcl_cli_configs,json=kclCliConfigs,proto3" json:"kcl_cli_configs,omitempty"` KclOptions []*KeyValuePair `protobuf:"bytes,2,rep,name=kcl_options,json=kclOptions,proto3" json:"kcl_options,omitempty"` // contains filtered or unexported fields }
func (*LoadSettingsFiles_Result) Descriptor
deprecated
func (*LoadSettingsFiles_Result) Descriptor() ([]byte, []int)
Deprecated: Use LoadSettingsFiles_Result.ProtoReflect.Descriptor instead.
func (*LoadSettingsFiles_Result) GetKclCliConfigs ¶
func (x *LoadSettingsFiles_Result) GetKclCliConfigs() *CliConfig
func (*LoadSettingsFiles_Result) GetKclOptions ¶
func (x *LoadSettingsFiles_Result) GetKclOptions() []*KeyValuePair
func (*LoadSettingsFiles_Result) ProtoMessage ¶
func (*LoadSettingsFiles_Result) ProtoMessage()
func (*LoadSettingsFiles_Result) ProtoReflect ¶
func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message
func (*LoadSettingsFiles_Result) Reset ¶
func (x *LoadSettingsFiles_Result) Reset()
func (*LoadSettingsFiles_Result) String ¶
func (x *LoadSettingsFiles_Result) String() string
type Message ¶ added in v0.7.3
type Message struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Pos *Position `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
added in
v0.7.3
func (*Message) ProtoMessage ¶ added in v0.7.3
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v0.7.3
func (x *Message) ProtoReflect() protoreflect.Message
type OverrideFile_Args ¶
type OverrideFile_Args struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Specs []string `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"` ImportPaths []string `protobuf:"bytes,3,rep,name=import_paths,json=importPaths,proto3" json:"import_paths,omitempty"` // contains filtered or unexported fields }
func (*OverrideFile_Args) Descriptor
deprecated
func (*OverrideFile_Args) Descriptor() ([]byte, []int)
Deprecated: Use OverrideFile_Args.ProtoReflect.Descriptor instead.
func (*OverrideFile_Args) GetFile ¶
func (x *OverrideFile_Args) GetFile() string
func (*OverrideFile_Args) GetImportPaths ¶
func (x *OverrideFile_Args) GetImportPaths() []string
func (*OverrideFile_Args) GetSpecs ¶
func (x *OverrideFile_Args) GetSpecs() []string
func (*OverrideFile_Args) ProtoMessage ¶
func (*OverrideFile_Args) ProtoMessage()
func (*OverrideFile_Args) ProtoReflect ¶
func (x *OverrideFile_Args) ProtoReflect() protoreflect.Message
func (*OverrideFile_Args) Reset ¶
func (x *OverrideFile_Args) Reset()
func (*OverrideFile_Args) String ¶
func (x *OverrideFile_Args) String() string
type OverrideFile_Result ¶
type OverrideFile_Result struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*OverrideFile_Result) Descriptor
deprecated
func (*OverrideFile_Result) Descriptor() ([]byte, []int)
Deprecated: Use OverrideFile_Result.ProtoReflect.Descriptor instead.
func (*OverrideFile_Result) GetResult ¶
func (x *OverrideFile_Result) GetResult() bool
func (*OverrideFile_Result) ProtoMessage ¶
func (*OverrideFile_Result) ProtoMessage()
func (*OverrideFile_Result) ProtoReflect ¶
func (x *OverrideFile_Result) ProtoReflect() protoreflect.Message
func (*OverrideFile_Result) Reset ¶
func (x *OverrideFile_Result) Reset()
func (*OverrideFile_Result) String ¶
func (x *OverrideFile_Result) String() string
type PROTORPC_BuiltinService ¶
type PROTORPC_BuiltinService interface { Ping(in *Ping_Args, out *Ping_Result) error ListMethod(in *ListMethod_Args, out *ListMethod_Result) error }
type PROTORPC_BuiltinServiceClient ¶
func PROTORPC_DialBuiltinService ¶
func PROTORPC_DialBuiltinService(network, addr string) (*PROTORPC_BuiltinServiceClient, error)
PROTORPC_DialBuiltinService connects to an PROTORPC_BuiltinService at the specified network address.
func PROTORPC_DialBuiltinServiceTimeout ¶
func PROTORPC_DialBuiltinServiceTimeout(network, addr string, timeout time.Duration) (*PROTORPC_BuiltinServiceClient, error)
PROTORPC_DialBuiltinServiceTimeout connects to an PROTORPC_BuiltinService at the specified network address.
func PROTORPC_NewBuiltinServiceClient ¶
func PROTORPC_NewBuiltinServiceClient(conn io.ReadWriteCloser) *PROTORPC_BuiltinServiceClient
PROTORPC_NewBuiltinServiceClient returns a PROTORPC_BuiltinService stub to handle requests to the set of PROTORPC_BuiltinService at the other end of the connection.
func (*PROTORPC_BuiltinServiceClient) AsyncListMethod ¶
func (c *PROTORPC_BuiltinServiceClient) AsyncListMethod(in *ListMethod_Args, out *ListMethod_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_BuiltinServiceClient) AsyncPing ¶
func (c *PROTORPC_BuiltinServiceClient) AsyncPing(in *Ping_Args, out *Ping_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_BuiltinServiceClient) ListMethod ¶
func (c *PROTORPC_BuiltinServiceClient) ListMethod(in *ListMethod_Args) (out *ListMethod_Result, err error)
func (*PROTORPC_BuiltinServiceClient) Ping ¶
func (c *PROTORPC_BuiltinServiceClient) Ping(in *Ping_Args) (out *Ping_Result, err error)
type PROTORPC_KclvmService ¶
type PROTORPC_KclvmService interface { Ping(in *Ping_Args, out *Ping_Result) error ExecProgram(in *ExecProgram_Args, out *ExecProgram_Result) error ParseProgram(in *ParseProgram_Args, out *ParseProgram_Result) error LoadPackage(in *LoadPackage_Args, out *LoadPackage_Result) error FormatCode(in *FormatCode_Args, out *FormatCode_Result) error FormatPath(in *FormatPath_Args, out *FormatPath_Result) error LintPath(in *LintPath_Args, out *LintPath_Result) error OverrideFile(in *OverrideFile_Args, out *OverrideFile_Result) error GetSchemaType(in *GetSchemaType_Args, out *GetSchemaType_Result) error GetSchemaTypeMapping(in *GetSchemaTypeMapping_Args, out *GetSchemaTypeMapping_Result) error GetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result) error ValidateCode(in *ValidateCode_Args, out *ValidateCode_Result) error ListDepFiles(in *ListDepFiles_Args, out *ListDepFiles_Result) error LoadSettingsFiles(in *LoadSettingsFiles_Args, out *LoadSettingsFiles_Result) error Rename(in *Rename_Args, out *Rename_Result) error RenameCode(in *RenameCode_Args, out *RenameCode_Result) error Test(in *Test_Args, out *Test_Result) error }
type PROTORPC_KclvmServiceClient ¶
func PROTORPC_DialKclvmService ¶
func PROTORPC_DialKclvmService(network, addr string) (*PROTORPC_KclvmServiceClient, error)
PROTORPC_DialKclvmService connects to an PROTORPC_KclvmService at the specified network address.
func PROTORPC_DialKclvmServiceTimeout ¶
func PROTORPC_DialKclvmServiceTimeout(network, addr string, timeout time.Duration) (*PROTORPC_KclvmServiceClient, error)
PROTORPC_DialKclvmServiceTimeout connects to an PROTORPC_KclvmService at the specified network address.
func PROTORPC_NewKclvmServiceClient ¶
func PROTORPC_NewKclvmServiceClient(conn io.ReadWriteCloser) *PROTORPC_KclvmServiceClient
PROTORPC_NewKclvmServiceClient returns a PROTORPC_KclvmService stub to handle requests to the set of PROTORPC_KclvmService at the other end of the connection.
func (*PROTORPC_KclvmServiceClient) AsyncExecProgram ¶
func (c *PROTORPC_KclvmServiceClient) AsyncExecProgram(in *ExecProgram_Args, out *ExecProgram_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncFormatCode ¶
func (c *PROTORPC_KclvmServiceClient) AsyncFormatCode(in *FormatCode_Args, out *FormatCode_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncFormatPath ¶
func (c *PROTORPC_KclvmServiceClient) AsyncFormatPath(in *FormatPath_Args, out *FormatPath_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncGetFullSchemaType ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) AsyncGetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncGetSchemaType ¶
func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaType(in *GetSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncGetSchemaTypeMapping ¶
func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaTypeMapping(in *GetSchemaTypeMapping_Args, out *GetSchemaTypeMapping_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncLintPath ¶
func (c *PROTORPC_KclvmServiceClient) AsyncLintPath(in *LintPath_Args, out *LintPath_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncListDepFiles ¶
func (c *PROTORPC_KclvmServiceClient) AsyncListDepFiles(in *ListDepFiles_Args, out *ListDepFiles_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncLoadPackage ¶ added in v0.7.5
func (c *PROTORPC_KclvmServiceClient) AsyncLoadPackage(in *LoadPackage_Args, out *LoadPackage_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncLoadSettingsFiles ¶
func (c *PROTORPC_KclvmServiceClient) AsyncLoadSettingsFiles(in *LoadSettingsFiles_Args, out *LoadSettingsFiles_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncOverrideFile ¶
func (c *PROTORPC_KclvmServiceClient) AsyncOverrideFile(in *OverrideFile_Args, out *OverrideFile_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncParseFile ¶ added in v0.7.3
func (c *PROTORPC_KclvmServiceClient) AsyncParseFile(in *ParseFile_Args, out *ParseFile_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncParseProgram ¶ added in v0.7.3
func (c *PROTORPC_KclvmServiceClient) AsyncParseProgram(in *ParseProgram_Args, out *ParseProgram_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncPing ¶
func (c *PROTORPC_KclvmServiceClient) AsyncPing(in *Ping_Args, out *Ping_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncRename ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) AsyncRename(in *Rename_Args, out *Rename_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncRenameCode ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) AsyncRenameCode(in *RenameCode_Args, out *RenameCode_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncTest ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) AsyncTest(in *Test_Args, out *Test_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) AsyncValidateCode ¶
func (c *PROTORPC_KclvmServiceClient) AsyncValidateCode(in *ValidateCode_Args, out *ValidateCode_Result, done chan *rpc.Call) *rpc.Call
func (*PROTORPC_KclvmServiceClient) ExecProgram ¶
func (c *PROTORPC_KclvmServiceClient) ExecProgram(in *ExecProgram_Args) (out *ExecProgram_Result, err error)
func (*PROTORPC_KclvmServiceClient) FormatCode ¶
func (c *PROTORPC_KclvmServiceClient) FormatCode(in *FormatCode_Args) (out *FormatCode_Result, err error)
func (*PROTORPC_KclvmServiceClient) FormatPath ¶
func (c *PROTORPC_KclvmServiceClient) FormatPath(in *FormatPath_Args) (out *FormatPath_Result, err error)
func (*PROTORPC_KclvmServiceClient) GetFullSchemaType ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) GetFullSchemaType(in *GetFullSchemaType_Args) (out *GetSchemaType_Result, err error)
func (*PROTORPC_KclvmServiceClient) GetSchemaType ¶
func (c *PROTORPC_KclvmServiceClient) GetSchemaType(in *GetSchemaType_Args) (out *GetSchemaType_Result, err error)
func (*PROTORPC_KclvmServiceClient) GetSchemaTypeMapping ¶
func (c *PROTORPC_KclvmServiceClient) GetSchemaTypeMapping(in *GetSchemaTypeMapping_Args) (out *GetSchemaTypeMapping_Result, err error)
func (*PROTORPC_KclvmServiceClient) LintPath ¶
func (c *PROTORPC_KclvmServiceClient) LintPath(in *LintPath_Args) (out *LintPath_Result, err error)
func (*PROTORPC_KclvmServiceClient) ListDepFiles ¶
func (c *PROTORPC_KclvmServiceClient) ListDepFiles(in *ListDepFiles_Args) (out *ListDepFiles_Result, err error)
func (*PROTORPC_KclvmServiceClient) LoadPackage ¶ added in v0.7.5
func (c *PROTORPC_KclvmServiceClient) LoadPackage(in *LoadPackage_Args) (out *LoadPackage_Result, err error)
func (*PROTORPC_KclvmServiceClient) LoadSettingsFiles ¶
func (c *PROTORPC_KclvmServiceClient) LoadSettingsFiles(in *LoadSettingsFiles_Args) (out *LoadSettingsFiles_Result, err error)
func (*PROTORPC_KclvmServiceClient) OverrideFile ¶
func (c *PROTORPC_KclvmServiceClient) OverrideFile(in *OverrideFile_Args) (out *OverrideFile_Result, err error)
func (*PROTORPC_KclvmServiceClient) ParseFile ¶ added in v0.7.3
func (c *PROTORPC_KclvmServiceClient) ParseFile(in *ParseFile_Args) (out *ParseFile_Result, err error)
func (*PROTORPC_KclvmServiceClient) ParseProgram ¶ added in v0.7.3
func (c *PROTORPC_KclvmServiceClient) ParseProgram(in *ParseProgram_Args) (out *ParseProgram_Result, err error)
func (*PROTORPC_KclvmServiceClient) Ping ¶
func (c *PROTORPC_KclvmServiceClient) Ping(in *Ping_Args) (out *Ping_Result, err error)
func (*PROTORPC_KclvmServiceClient) Rename ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) Rename(in *Rename_Args) (out *Rename_Result, err error)
func (*PROTORPC_KclvmServiceClient) RenameCode ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) RenameCode(in *RenameCode_Args) (out *RenameCode_Result, err error)
func (*PROTORPC_KclvmServiceClient) Test ¶ added in v0.7.0
func (c *PROTORPC_KclvmServiceClient) Test(in *Test_Args) (out *Test_Result, err error)
func (*PROTORPC_KclvmServiceClient) ValidateCode ¶
func (c *PROTORPC_KclvmServiceClient) ValidateCode(in *ValidateCode_Args) (out *ValidateCode_Result, err error)
type ParseFile_Args ¶ added in v0.7.3
type ParseFile_Args struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` // External packages path // contains filtered or unexported fields }
func (*ParseFile_Args) Descriptor
deprecated
added in
v0.7.3
func (*ParseFile_Args) Descriptor() ([]byte, []int)
Deprecated: Use ParseFile_Args.ProtoReflect.Descriptor instead.
func (*ParseFile_Args) GetExternalPkgs ¶ added in v0.7.3
func (x *ParseFile_Args) GetExternalPkgs() []*CmdExternalPkgSpec
func (*ParseFile_Args) GetPath ¶ added in v0.7.3
func (x *ParseFile_Args) GetPath() string
func (*ParseFile_Args) GetSource ¶ added in v0.7.3
func (x *ParseFile_Args) GetSource() string
func (*ParseFile_Args) ProtoMessage ¶ added in v0.7.3
func (*ParseFile_Args) ProtoMessage()
func (*ParseFile_Args) ProtoReflect ¶ added in v0.7.3
func (x *ParseFile_Args) ProtoReflect() protoreflect.Message
func (*ParseFile_Args) Reset ¶ added in v0.7.3
func (x *ParseFile_Args) Reset()
func (*ParseFile_Args) String ¶ added in v0.7.3
func (x *ParseFile_Args) String() string
type ParseFile_Result ¶ added in v0.7.3
type ParseFile_Result struct { AstJson string `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // JSON string value Deps []string `protobuf:"bytes,2,rep,name=deps,proto3" json:"deps,omitempty"` // file dependency paths Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // Parse errors // contains filtered or unexported fields }
func (*ParseFile_Result) Descriptor
deprecated
added in
v0.7.3
func (*ParseFile_Result) Descriptor() ([]byte, []int)
Deprecated: Use ParseFile_Result.ProtoReflect.Descriptor instead.
func (*ParseFile_Result) GetAstJson ¶ added in v0.7.3
func (x *ParseFile_Result) GetAstJson() string
func (*ParseFile_Result) GetDeps ¶ added in v0.7.3
func (x *ParseFile_Result) GetDeps() []string
func (*ParseFile_Result) GetErrors ¶ added in v0.7.3
func (x *ParseFile_Result) GetErrors() []*Error
func (*ParseFile_Result) ProtoMessage ¶ added in v0.7.3
func (*ParseFile_Result) ProtoMessage()
func (*ParseFile_Result) ProtoReflect ¶ added in v0.7.3
func (x *ParseFile_Result) ProtoReflect() protoreflect.Message
func (*ParseFile_Result) Reset ¶ added in v0.7.3
func (x *ParseFile_Result) Reset()
func (*ParseFile_Result) String ¶ added in v0.7.3
func (x *ParseFile_Result) String() string
type ParseProgram_Args ¶ added in v0.7.3
type ParseProgram_Args struct { Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` Sources []string `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` // External packages path // contains filtered or unexported fields }
func (*ParseProgram_Args) Descriptor
deprecated
added in
v0.7.3
func (*ParseProgram_Args) Descriptor() ([]byte, []int)
Deprecated: Use ParseProgram_Args.ProtoReflect.Descriptor instead.
func (*ParseProgram_Args) GetExternalPkgs ¶ added in v0.7.3
func (x *ParseProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec
func (*ParseProgram_Args) GetPaths ¶ added in v0.7.3
func (x *ParseProgram_Args) GetPaths() []string
func (*ParseProgram_Args) GetSources ¶ added in v0.7.3
func (x *ParseProgram_Args) GetSources() []string
func (*ParseProgram_Args) ProtoMessage ¶ added in v0.7.3
func (*ParseProgram_Args) ProtoMessage()
func (*ParseProgram_Args) ProtoReflect ¶ added in v0.7.3
func (x *ParseProgram_Args) ProtoReflect() protoreflect.Message
func (*ParseProgram_Args) Reset ¶ added in v0.7.3
func (x *ParseProgram_Args) Reset()
func (*ParseProgram_Args) String ¶ added in v0.7.3
func (x *ParseProgram_Args) String() string
type ParseProgram_Result ¶ added in v0.7.3
type ParseProgram_Result struct { AstJson string `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // JSON string value Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // Returns the files in the order they should be compiled Errors []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // Parse errors // contains filtered or unexported fields }
func (*ParseProgram_Result) Descriptor
deprecated
added in
v0.7.3
func (*ParseProgram_Result) Descriptor() ([]byte, []int)
Deprecated: Use ParseProgram_Result.ProtoReflect.Descriptor instead.
func (*ParseProgram_Result) GetAstJson ¶ added in v0.7.3
func (x *ParseProgram_Result) GetAstJson() string
func (*ParseProgram_Result) GetErrors ¶ added in v0.7.3
func (x *ParseProgram_Result) GetErrors() []*Error
func (*ParseProgram_Result) GetPaths ¶ added in v0.7.3
func (x *ParseProgram_Result) GetPaths() []string
func (*ParseProgram_Result) ProtoMessage ¶ added in v0.7.3
func (*ParseProgram_Result) ProtoMessage()
func (*ParseProgram_Result) ProtoReflect ¶ added in v0.7.3
func (x *ParseProgram_Result) ProtoReflect() protoreflect.Message
func (*ParseProgram_Result) Reset ¶ added in v0.7.3
func (x *ParseProgram_Result) Reset()
func (*ParseProgram_Result) String ¶ added in v0.7.3
func (x *ParseProgram_Result) String() string
type Ping_Args ¶
type Ping_Args struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Ping_Args) Descriptor
deprecated
func (*Ping_Args) ProtoMessage ¶
func (*Ping_Args) ProtoMessage()
func (*Ping_Args) ProtoReflect ¶
func (x *Ping_Args) ProtoReflect() protoreflect.Message
type Ping_Result ¶
type Ping_Result struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Ping_Result) Descriptor
deprecated
func (*Ping_Result) Descriptor() ([]byte, []int)
Deprecated: Use Ping_Result.ProtoReflect.Descriptor instead.
func (*Ping_Result) GetValue ¶
func (x *Ping_Result) GetValue() string
func (*Ping_Result) ProtoMessage ¶
func (*Ping_Result) ProtoMessage()
func (*Ping_Result) ProtoReflect ¶
func (x *Ping_Result) ProtoReflect() protoreflect.Message
func (*Ping_Result) Reset ¶
func (x *Ping_Result) Reset()
func (*Ping_Result) String ¶
func (x *Ping_Result) String() string
type Position ¶
type Position struct { Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"` Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
func (*Position) Descriptor
deprecated
func (*Position) GetFilename ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type RenameCode_Args ¶ added in v0.7.0
type RenameCode_Args struct { PackageRoot string `protobuf:"bytes,1,opt,name=package_root,json=packageRoot,proto3" json:"package_root,omitempty"` // the file path to the package root SymbolPath string `protobuf:"bytes,2,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted. SourceCodes map[string]string `` // the source code. a <filename>:<code> map /* 182-byte string literal not displayed */ NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // the new name of the symbol // contains filtered or unexported fields }
func (*RenameCode_Args) Descriptor
deprecated
added in
v0.7.0
func (*RenameCode_Args) Descriptor() ([]byte, []int)
Deprecated: Use RenameCode_Args.ProtoReflect.Descriptor instead.
func (*RenameCode_Args) GetNewName ¶ added in v0.7.0
func (x *RenameCode_Args) GetNewName() string
func (*RenameCode_Args) GetPackageRoot ¶ added in v0.7.0
func (x *RenameCode_Args) GetPackageRoot() string
func (*RenameCode_Args) GetSourceCodes ¶ added in v0.7.0
func (x *RenameCode_Args) GetSourceCodes() map[string]string
func (*RenameCode_Args) GetSymbolPath ¶ added in v0.7.0
func (x *RenameCode_Args) GetSymbolPath() string
func (*RenameCode_Args) ProtoMessage ¶ added in v0.7.0
func (*RenameCode_Args) ProtoMessage()
func (*RenameCode_Args) ProtoReflect ¶ added in v0.7.0
func (x *RenameCode_Args) ProtoReflect() protoreflect.Message
func (*RenameCode_Args) Reset ¶ added in v0.7.0
func (x *RenameCode_Args) Reset()
func (*RenameCode_Args) String ¶ added in v0.7.0
func (x *RenameCode_Args) String() string
type RenameCode_Result ¶ added in v0.7.0
type RenameCode_Result struct { ChangedCodes map[string]string `` // the changed code. a <filename>:<code> map /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RenameCode_Result) Descriptor
deprecated
added in
v0.7.0
func (*RenameCode_Result) Descriptor() ([]byte, []int)
Deprecated: Use RenameCode_Result.ProtoReflect.Descriptor instead.
func (*RenameCode_Result) GetChangedCodes ¶ added in v0.7.0
func (x *RenameCode_Result) GetChangedCodes() map[string]string
func (*RenameCode_Result) ProtoMessage ¶ added in v0.7.0
func (*RenameCode_Result) ProtoMessage()
func (*RenameCode_Result) ProtoReflect ¶ added in v0.7.0
func (x *RenameCode_Result) ProtoReflect() protoreflect.Message
func (*RenameCode_Result) Reset ¶ added in v0.7.0
func (x *RenameCode_Result) Reset()
func (*RenameCode_Result) String ¶ added in v0.7.0
func (x *RenameCode_Result) String() string
type Rename_Args ¶ added in v0.7.0
type Rename_Args struct { PackageRoot string `protobuf:"bytes,1,opt,name=package_root,json=packageRoot,proto3" json:"package_root,omitempty"` // the file path to the package root SymbolPath string `protobuf:"bytes,2,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted. FilePaths []string `protobuf:"bytes,3,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` // the paths to the source code files NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // the new name of the symbol // contains filtered or unexported fields }
func (*Rename_Args) Descriptor
deprecated
added in
v0.7.0
func (*Rename_Args) Descriptor() ([]byte, []int)
Deprecated: Use Rename_Args.ProtoReflect.Descriptor instead.
func (*Rename_Args) GetFilePaths ¶ added in v0.7.0
func (x *Rename_Args) GetFilePaths() []string
func (*Rename_Args) GetNewName ¶ added in v0.7.0
func (x *Rename_Args) GetNewName() string
func (*Rename_Args) GetPackageRoot ¶ added in v0.7.0
func (x *Rename_Args) GetPackageRoot() string
func (*Rename_Args) GetSymbolPath ¶ added in v0.7.0
func (x *Rename_Args) GetSymbolPath() string
func (*Rename_Args) ProtoMessage ¶ added in v0.7.0
func (*Rename_Args) ProtoMessage()
func (*Rename_Args) ProtoReflect ¶ added in v0.7.0
func (x *Rename_Args) ProtoReflect() protoreflect.Message
func (*Rename_Args) Reset ¶ added in v0.7.0
func (x *Rename_Args) Reset()
func (*Rename_Args) String ¶ added in v0.7.0
func (x *Rename_Args) String() string
type Rename_Result ¶ added in v0.7.0
type Rename_Result struct { ChangedFiles []string `protobuf:"bytes,1,rep,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` // the file paths got changed // contains filtered or unexported fields }
func (*Rename_Result) Descriptor
deprecated
added in
v0.7.0
func (*Rename_Result) Descriptor() ([]byte, []int)
Deprecated: Use Rename_Result.ProtoReflect.Descriptor instead.
func (*Rename_Result) GetChangedFiles ¶ added in v0.7.0
func (x *Rename_Result) GetChangedFiles() []string
func (*Rename_Result) ProtoMessage ¶ added in v0.7.0
func (*Rename_Result) ProtoMessage()
func (*Rename_Result) ProtoReflect ¶ added in v0.7.0
func (x *Rename_Result) ProtoReflect() protoreflect.Message
func (*Rename_Result) Reset ¶ added in v0.7.0
func (x *Rename_Result) Reset()
func (*Rename_Result) String ¶ added in v0.7.0
func (x *Rename_Result) String() string
type ResetPlugin_Args ¶
type ResetPlugin_Args struct { PluginRoot string `protobuf:"bytes,1,opt,name=plugin_root,json=pluginRoot,proto3" json:"plugin_root,omitempty"` // contains filtered or unexported fields }
func (*ResetPlugin_Args) Descriptor
deprecated
func (*ResetPlugin_Args) Descriptor() ([]byte, []int)
Deprecated: Use ResetPlugin_Args.ProtoReflect.Descriptor instead.
func (*ResetPlugin_Args) GetPluginRoot ¶
func (x *ResetPlugin_Args) GetPluginRoot() string
func (*ResetPlugin_Args) ProtoMessage ¶
func (*ResetPlugin_Args) ProtoMessage()
func (*ResetPlugin_Args) ProtoReflect ¶
func (x *ResetPlugin_Args) ProtoReflect() protoreflect.Message
func (*ResetPlugin_Args) Reset ¶
func (x *ResetPlugin_Args) Reset()
func (*ResetPlugin_Args) String ¶
func (x *ResetPlugin_Args) String() string
type ResetPlugin_Result ¶
type ResetPlugin_Result struct {
// contains filtered or unexported fields
}
func (*ResetPlugin_Result) Descriptor
deprecated
func (*ResetPlugin_Result) Descriptor() ([]byte, []int)
Deprecated: Use ResetPlugin_Result.ProtoReflect.Descriptor instead.
func (*ResetPlugin_Result) ProtoMessage ¶
func (*ResetPlugin_Result) ProtoMessage()
func (*ResetPlugin_Result) ProtoReflect ¶
func (x *ResetPlugin_Result) ProtoReflect() protoreflect.Message
func (*ResetPlugin_Result) Reset ¶
func (x *ResetPlugin_Result) Reset()
func (*ResetPlugin_Result) String ¶
func (x *ResetPlugin_Result) String() string
type Scope ¶ added in v0.7.5
type Scope struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Parent *ScopeIndex `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` Owner *SymbolIndex `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Children []*ScopeIndex `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` Defs []*SymbolIndex `protobuf:"bytes,5,rep,name=defs,proto3" json:"defs,omitempty"` // contains filtered or unexported fields }
func (*Scope) Descriptor
deprecated
added in
v0.7.5
func (*Scope) GetChildren ¶ added in v0.7.5
func (x *Scope) GetChildren() []*ScopeIndex
func (*Scope) GetDefs ¶ added in v0.7.5
func (x *Scope) GetDefs() []*SymbolIndex
func (*Scope) GetOwner ¶ added in v0.7.5
func (x *Scope) GetOwner() *SymbolIndex
func (*Scope) GetParent ¶ added in v0.7.5
func (x *Scope) GetParent() *ScopeIndex
func (*Scope) ProtoMessage ¶ added in v0.7.5
func (*Scope) ProtoMessage()
func (*Scope) ProtoReflect ¶ added in v0.7.5
func (x *Scope) ProtoReflect() protoreflect.Message
type ScopeIndex ¶ added in v0.7.5
type ScopeIndex struct { I uint64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"` G uint64 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*ScopeIndex) Descriptor
deprecated
added in
v0.7.5
func (*ScopeIndex) Descriptor() ([]byte, []int)
Deprecated: Use ScopeIndex.ProtoReflect.Descriptor instead.
func (*ScopeIndex) GetG ¶ added in v0.7.5
func (x *ScopeIndex) GetG() uint64
func (*ScopeIndex) GetI ¶ added in v0.7.5
func (x *ScopeIndex) GetI() uint64
func (*ScopeIndex) GetKind ¶ added in v0.7.5
func (x *ScopeIndex) GetKind() string
func (*ScopeIndex) ProtoMessage ¶ added in v0.7.5
func (*ScopeIndex) ProtoMessage()
func (*ScopeIndex) ProtoReflect ¶ added in v0.7.5
func (x *ScopeIndex) ProtoReflect() protoreflect.Message
func (*ScopeIndex) Reset ¶ added in v0.7.5
func (x *ScopeIndex) Reset()
func (*ScopeIndex) String ¶ added in v0.7.5
func (x *ScopeIndex) String() string
type Symbol ¶ added in v0.7.5
type Symbol struct { Ty *KclType `protobuf:"bytes,1,opt,name=ty,proto3" json:"ty,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Owner *SymbolIndex `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Def *SymbolIndex `protobuf:"bytes,4,opt,name=def,proto3" json:"def,omitempty"` Attrs []*SymbolIndex `protobuf:"bytes,5,rep,name=attrs,proto3" json:"attrs,omitempty"` IsGlobal bool `protobuf:"varint,6,opt,name=is_global,json=isGlobal,proto3" json:"is_global,omitempty"` // contains filtered or unexported fields }
func (*Symbol) Descriptor
deprecated
added in
v0.7.5
func (*Symbol) GetAttrs ¶ added in v0.7.5
func (x *Symbol) GetAttrs() []*SymbolIndex
func (*Symbol) GetDef ¶ added in v0.7.5
func (x *Symbol) GetDef() *SymbolIndex
func (*Symbol) GetIsGlobal ¶ added in v0.7.5
func (*Symbol) GetOwner ¶ added in v0.7.5
func (x *Symbol) GetOwner() *SymbolIndex
func (*Symbol) ProtoMessage ¶ added in v0.7.5
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶ added in v0.7.5
func (x *Symbol) ProtoReflect() protoreflect.Message
type SymbolIndex ¶ added in v0.7.5
type SymbolIndex struct { I uint64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"` G uint64 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*SymbolIndex) Descriptor
deprecated
added in
v0.7.5
func (*SymbolIndex) Descriptor() ([]byte, []int)
Deprecated: Use SymbolIndex.ProtoReflect.Descriptor instead.
func (*SymbolIndex) GetG ¶ added in v0.7.5
func (x *SymbolIndex) GetG() uint64
func (*SymbolIndex) GetI ¶ added in v0.7.5
func (x *SymbolIndex) GetI() uint64
func (*SymbolIndex) GetKind ¶ added in v0.7.5
func (x *SymbolIndex) GetKind() string
func (*SymbolIndex) ProtoMessage ¶ added in v0.7.5
func (*SymbolIndex) ProtoMessage()
func (*SymbolIndex) ProtoReflect ¶ added in v0.7.5
func (x *SymbolIndex) ProtoReflect() protoreflect.Message
func (*SymbolIndex) Reset ¶ added in v0.7.5
func (x *SymbolIndex) Reset()
func (*SymbolIndex) String ¶ added in v0.7.5
func (x *SymbolIndex) String() string
type TestCaseInfo ¶ added in v0.7.0
type TestCaseInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Test case name Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // Number of whole microseconds in the duration. LogMessage string `protobuf:"bytes,4,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` // contains filtered or unexported fields }
func (*TestCaseInfo) Descriptor
deprecated
added in
v0.7.0
func (*TestCaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use TestCaseInfo.ProtoReflect.Descriptor instead.
func (*TestCaseInfo) GetDuration ¶ added in v0.7.0
func (x *TestCaseInfo) GetDuration() uint64
func (*TestCaseInfo) GetError ¶ added in v0.7.0
func (x *TestCaseInfo) GetError() string
func (*TestCaseInfo) GetLogMessage ¶ added in v0.7.0
func (x *TestCaseInfo) GetLogMessage() string
func (*TestCaseInfo) GetName ¶ added in v0.7.0
func (x *TestCaseInfo) GetName() string
func (*TestCaseInfo) ProtoMessage ¶ added in v0.7.0
func (*TestCaseInfo) ProtoMessage()
func (*TestCaseInfo) ProtoReflect ¶ added in v0.7.0
func (x *TestCaseInfo) ProtoReflect() protoreflect.Message
func (*TestCaseInfo) Reset ¶ added in v0.7.0
func (x *TestCaseInfo) Reset()
func (*TestCaseInfo) String ¶ added in v0.7.0
func (x *TestCaseInfo) String() string
type Test_Args ¶ added in v0.7.0
type Test_Args struct { ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` // This field stores the execution program arguments. PkgList []string `protobuf:"bytes,2,rep,name=pkg_list,json=pkgList,proto3" json:"pkg_list,omitempty"` // The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..." RunRegexp string `protobuf:"bytes,3,opt,name=run_regexp,json=runRegexp,proto3" json:"run_regexp,omitempty"` // This field stores a regular expression for filtering tests to run. FailFast bool `protobuf:"varint,4,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"` // This field determines whether the test run should stop on the first failure. // contains filtered or unexported fields }
func (*Test_Args) Descriptor
deprecated
added in
v0.7.0
func (*Test_Args) GetExecArgs ¶ added in v0.7.0
func (x *Test_Args) GetExecArgs() *ExecProgram_Args
func (*Test_Args) GetFailFast ¶ added in v0.7.0
func (*Test_Args) GetPkgList ¶ added in v0.7.0
func (*Test_Args) GetRunRegexp ¶ added in v0.7.0
func (*Test_Args) ProtoMessage ¶ added in v0.7.0
func (*Test_Args) ProtoMessage()
func (*Test_Args) ProtoReflect ¶ added in v0.7.0
func (x *Test_Args) ProtoReflect() protoreflect.Message
type Test_Result ¶ added in v0.7.0
type Test_Result struct { Info []*TestCaseInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*Test_Result) Descriptor
deprecated
added in
v0.7.0
func (*Test_Result) Descriptor() ([]byte, []int)
Deprecated: Use Test_Result.ProtoReflect.Descriptor instead.
func (*Test_Result) GetInfo ¶ added in v0.7.0
func (x *Test_Result) GetInfo() []*TestCaseInfo
func (*Test_Result) ProtoMessage ¶ added in v0.7.0
func (*Test_Result) ProtoMessage()
func (*Test_Result) ProtoReflect ¶ added in v0.7.0
func (x *Test_Result) ProtoReflect() protoreflect.Message
func (*Test_Result) Reset ¶ added in v0.7.0
func (x *Test_Result) Reset()
func (*Test_Result) String ¶ added in v0.7.0
func (x *Test_Result) String() string
type UnimplementedBuiltinServiceServer ¶
type UnimplementedBuiltinServiceServer struct { }
UnimplementedBuiltinServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBuiltinServiceServer) ListMethod ¶
func (*UnimplementedBuiltinServiceServer) ListMethod(context.Context, *ListMethod_Args) (*ListMethod_Result, error)
func (*UnimplementedBuiltinServiceServer) Ping ¶
func (*UnimplementedBuiltinServiceServer) Ping(context.Context, *Ping_Args) (*Ping_Result, error)
type UnimplementedKclvmServiceServer ¶
type UnimplementedKclvmServiceServer struct { }
UnimplementedKclvmServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedKclvmServiceServer) ExecProgram ¶
func (*UnimplementedKclvmServiceServer) ExecProgram(context.Context, *ExecProgram_Args) (*ExecProgram_Result, error)
func (*UnimplementedKclvmServiceServer) FormatCode ¶
func (*UnimplementedKclvmServiceServer) FormatCode(context.Context, *FormatCode_Args) (*FormatCode_Result, error)
func (*UnimplementedKclvmServiceServer) FormatPath ¶
func (*UnimplementedKclvmServiceServer) FormatPath(context.Context, *FormatPath_Args) (*FormatPath_Result, error)
func (*UnimplementedKclvmServiceServer) GetFullSchemaType ¶ added in v0.7.0
func (*UnimplementedKclvmServiceServer) GetFullSchemaType(context.Context, *GetFullSchemaType_Args) (*GetSchemaType_Result, error)
func (*UnimplementedKclvmServiceServer) GetSchemaType ¶
func (*UnimplementedKclvmServiceServer) GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error)
func (*UnimplementedKclvmServiceServer) GetSchemaTypeMapping ¶
func (*UnimplementedKclvmServiceServer) GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error)
func (*UnimplementedKclvmServiceServer) LintPath ¶
func (*UnimplementedKclvmServiceServer) LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error)
func (*UnimplementedKclvmServiceServer) ListDepFiles ¶
func (*UnimplementedKclvmServiceServer) ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error)
func (*UnimplementedKclvmServiceServer) LoadPackage ¶ added in v0.7.5
func (*UnimplementedKclvmServiceServer) LoadPackage(context.Context, *LoadPackage_Args) (*LoadPackage_Result, error)
func (*UnimplementedKclvmServiceServer) LoadSettingsFiles ¶
func (*UnimplementedKclvmServiceServer) LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error)
func (*UnimplementedKclvmServiceServer) OverrideFile ¶
func (*UnimplementedKclvmServiceServer) OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error)
func (*UnimplementedKclvmServiceServer) ParseFile ¶ added in v0.7.3
func (*UnimplementedKclvmServiceServer) ParseFile(context.Context, *ParseFile_Args) (*ParseFile_Result, error)
func (*UnimplementedKclvmServiceServer) ParseProgram ¶ added in v0.7.3
func (*UnimplementedKclvmServiceServer) ParseProgram(context.Context, *ParseProgram_Args) (*ParseProgram_Result, error)
func (*UnimplementedKclvmServiceServer) Ping ¶
func (*UnimplementedKclvmServiceServer) Ping(context.Context, *Ping_Args) (*Ping_Result, error)
func (*UnimplementedKclvmServiceServer) Rename ¶ added in v0.7.0
func (*UnimplementedKclvmServiceServer) Rename(context.Context, *Rename_Args) (*Rename_Result, error)
func (*UnimplementedKclvmServiceServer) RenameCode ¶ added in v0.7.0
func (*UnimplementedKclvmServiceServer) RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error)
func (*UnimplementedKclvmServiceServer) Test ¶ added in v0.7.0
func (*UnimplementedKclvmServiceServer) Test(context.Context, *Test_Args) (*Test_Result, error)
func (*UnimplementedKclvmServiceServer) ValidateCode ¶
func (*UnimplementedKclvmServiceServer) ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error)
type ValidateCode_Args ¶
type ValidateCode_Args struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Schema string `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"` AttributeName string `protobuf:"bytes,5,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` Format string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
func (*ValidateCode_Args) Descriptor
deprecated
func (*ValidateCode_Args) Descriptor() ([]byte, []int)
Deprecated: Use ValidateCode_Args.ProtoReflect.Descriptor instead.
func (*ValidateCode_Args) GetAttributeName ¶
func (x *ValidateCode_Args) GetAttributeName() string
func (*ValidateCode_Args) GetCode ¶
func (x *ValidateCode_Args) GetCode() string
func (*ValidateCode_Args) GetData ¶
func (x *ValidateCode_Args) GetData() string
func (*ValidateCode_Args) GetFile ¶ added in v0.7.0
func (x *ValidateCode_Args) GetFile() string
func (*ValidateCode_Args) GetFormat ¶
func (x *ValidateCode_Args) GetFormat() string
func (*ValidateCode_Args) GetSchema ¶
func (x *ValidateCode_Args) GetSchema() string
func (*ValidateCode_Args) ProtoMessage ¶
func (*ValidateCode_Args) ProtoMessage()
func (*ValidateCode_Args) ProtoReflect ¶
func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message
func (*ValidateCode_Args) Reset ¶
func (x *ValidateCode_Args) Reset()
func (*ValidateCode_Args) String ¶
func (x *ValidateCode_Args) String() string
type ValidateCode_Result ¶
type ValidateCode_Result struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrMessage string `protobuf:"bytes,2,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` // contains filtered or unexported fields }
func (*ValidateCode_Result) Descriptor
deprecated
func (*ValidateCode_Result) Descriptor() ([]byte, []int)
Deprecated: Use ValidateCode_Result.ProtoReflect.Descriptor instead.
func (*ValidateCode_Result) GetErrMessage ¶
func (x *ValidateCode_Result) GetErrMessage() string
func (*ValidateCode_Result) GetSuccess ¶
func (x *ValidateCode_Result) GetSuccess() bool
func (*ValidateCode_Result) ProtoMessage ¶
func (*ValidateCode_Result) ProtoMessage()
func (*ValidateCode_Result) ProtoReflect ¶
func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message
func (*ValidateCode_Result) Reset ¶
func (x *ValidateCode_Result) Reset()
func (*ValidateCode_Result) String ¶
func (x *ValidateCode_Result) String() string