parsers

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAndroidLintAnnotations

func ParseAndroidLintAnnotations(path string) (error, []model.Annotation)

func ParseBoostAnnotations added in v0.7.0

func ParseBoostAnnotations(path string) (error, []model.Annotation)

func ParseBufAnnotations added in v0.8.0

func ParseBufAnnotations(path string) (error, []model.Annotation)

func ParseCirrusAnnotations added in v0.4.0

func ParseCirrusAnnotations(path string) (error, []model.Annotation)

func ParseESLintAnnotations added in v0.6.0

func ParseESLintAnnotations(path string) (error, []model.Annotation)

func ParseFlutterAnnotations added in v0.2.0

func ParseFlutterAnnotations(path string) (error, []model.Annotation)

func ParseGoLangCIAnnotations

func ParseGoLangCIAnnotations(path string) (error, []model.Annotation)

func ParseJUnitAnnotations

func ParseJUnitAnnotations(path string) (error, []model.Annotation)

func ParseQodanaAnnotations

func ParseQodanaAnnotations(path string) (error, []model.Annotation)

func ParseRSpecAnnotations

func ParseRSpecAnnotations(path string) (error, []model.Annotation)

ParseRSpecAnnotations parses RSpec's JSON output into annotations according to the "spec" ranged from 3.0.0[1] to 3.9.2[2]. [1]: https://github.com/rspec/rspec-core/blob/v3.0.0/lib/rspec/core/example.rb [2]: https://github.com/rspec/rspec-core/blob/v3.9.2/lib/rspec/core/example.rb

func ParseRuboCopAnnotations

func ParseRuboCopAnnotations(path string) (error, []model.Annotation)

ParseRuboCopAnnotations parses RuboCop's JSON output into annotations according to the documentation ranged from 0.53.0[1] to 0.87.1[2]. [1]: https://github.com/rubocop-hq/rubocop/blob/v0.53.0/manual/formatters.md#json-formatter [2]: https://github.com/rubocop-hq/rubocop/blob/v0.87.1/docs/modules/ROOT/pages/formatters.adoc#json-formatter

func ParseSwiftFormatAnnotations added in v0.9.0

func ParseSwiftFormatAnnotations(path string) (error, []model.Annotation)

func ParseXclogparserAnnotations

func ParseXclogparserAnnotations(path string) (error, []model.Annotation)

Types

type BoostTestCase added in v0.7.0

type BoostTestCase struct {
	XMLName xml.Name         `xml:"TestCase"`
	Name    string           `xml:"name,attr"`
	File    string           `xml:"file,attr"`
	Line    int64            `xml:"line,attr"`
	Errors  []BoostTestError `xml:"Error"`
}

type BoostTestError added in v0.7.0

type BoostTestError struct {
	XMLName xml.Name `xml:"Error"`
	File    string   `xml:"file,attr"`
	Line    int64    `xml:"line,attr"`
	Message string   `xml:",chardata"`
}

type BoostTestSuite added in v0.7.0

type BoostTestSuite struct {
	XMLName   xml.Name         `xml:"TestSuite"`
	Suites    []BoostTestSuite `xml:"TestSuite"`
	TestCases []BoostTestCase  `xml:"TestCase"`
}

type GoLangCIIssue

type GoLangCIIssue struct {
	FromLinter  string
	Text        string
	SourceLines []string
	Pos         GoLangCIPosition
}

type GoLangCIPosition

type GoLangCIPosition struct {
	Filename string
	Offset   int64
	Line     int64
	Column   int64
}

type GoLangCIReport

type GoLangCIReport struct {
	Issues []GoLangCIIssue
}

Jump to

Keyboard shortcuts

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