elliotchance/gedcom

View on GitHub
q/token.go

Summary

Maintainability
A
0 mins
Test Coverage

comment on exported const TokenWhitespace should be of the form "TokenWhitespace ..."
Open

    // Ignored
Severity: Minor
Found in q/token.go by golint

comment on exported const TokenAccessor should be of the form "TokenAccessor ..."
Open

    // Words
Severity: Minor
Found in q/token.go by golint

exported type TokenKind should have comment or be unexported
Open

type TokenKind string
Severity: Minor
Found in q/token.go by golint

comment on exported const TokenEOF should be of the form "TokenEOF ..."
Open

    // Special
Severity: Minor
Found in q/token.go by golint

exported var TokenRegexp should have comment or be unexported
Open

var TokenRegexp = []struct {
Severity: Minor
Found in q/token.go by golint

exported type Tokens should have comment or be unexported
Open

type Tokens struct {
Severity: Minor
Found in q/token.go by golint

exported type Tokenizer should have comment or be unexported
Open

type Tokenizer struct{}
Severity: Minor
Found in q/token.go by golint

exported function NewTokenizer should have comment or be unexported
Open

func NewTokenizer() *Tokenizer {
Severity: Minor
Found in q/token.go by golint

exported method Tokenizer.TokenizeString should have comment or be unexported
Open

func (t *Tokenizer) TokenizeString(s string) *Tokens {
Severity: Minor
Found in q/token.go by golint

exported method Tokens.Consume should have comment or be unexported
Open

func (t *Tokens) Consume(expected ...TokenKind) (tokens []Token, err error) {
Severity: Minor
Found in q/token.go by golint

exported type Token should have comment or be unexported
Open

type Token struct {
Severity: Minor
Found in q/token.go by golint

exported const TokenWord should have comment (or a comment on this block) or be unexported
Open

    TokenWord     = TokenKind("word")
Severity: Minor
Found in q/token.go by golint

exported method Tokens.Rollback should have comment or be unexported
Open

func (t *Tokens) Rollback(position int, err *error) {
Severity: Minor
Found in q/token.go by golint

comment on exported const TokenPipe should be of the form "TokenPipe ..."
Open

    // Operators
Severity: Minor
Found in q/token.go by golint

There are no issues that match your filters.

Category
Status