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 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 Interface ¶
type Interface interface { Diagnostic(ctx context.Context, ss *cache.Snapshot, changeFiles []uri.URI) (DiagnosticResult, error) Name() string }
func NewDiagnostic ¶
func NewDiagnostic() Interface
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
Click to show internal directories.
Click to hide internal directories.