diagnostic

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CycleCheck

type CycleCheck struct {
}

func (*CycleCheck) Diagnostic

func (c *CycleCheck) Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error)

func (*CycleCheck) Name

func (c *CycleCheck) Name() string

type CyclePair

type CyclePair struct {
	// contains filtered or unexported fields
}

type Diagnostic

type Diagnostic struct {
}

func (*Diagnostic) Diagnostic

func (d *Diagnostic) Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error)

func (*Diagnostic) Name

func (d *Diagnostic) Name() string

type DiagnosticResult

type DiagnosticResult map[uri.URI][]protocol.Diagnostic

type FieldIDCheck

type FieldIDCheck struct {
}

func (*FieldIDCheck) Diagnostic

func (c *FieldIDCheck) Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error)

FieldIDCheck checks struct, union, exception, function pramas, function throws field id field id format: have a unique, positive integer identifier. ref doc: http://diwakergupta.github.io/thrift-missing-guide/#_defining_structs

func (*FieldIDCheck) Name

func (c *FieldIDCheck) Name() string

type Include

type Include struct {
	// contains filtered or unexported fields
}

type Interface

type Interface interface {
	Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error)
	Name() string
}

func NewDiagnostic

func NewDiagnostic() Interface

type Parse

type Parse struct {
}

func (*Parse) Diagnostic

func (p *Parse) Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error)

func (*Parse) Name

func (p *Parse) Name() string

type SemanticAnalysis

type SemanticAnalysis struct {
}

func (*SemanticAnalysis) Diagnostic

func (s *SemanticAnalysis) Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error)

func (*SemanticAnalysis) Name

func (s *SemanticAnalysis) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL