Showing 129 of 129 total issues
exported const ERROR_OBJ should have comment (or a comment on this block) or be unexported Open
Open
ERROR_OBJ = "ERROR"
- Exclude checks
exported method Boolean.Inspect should have comment or be unexported Open
Open
func (b *Boolean) Inspect() string { return fmt.Sprintf("%t", b.Value) }
- Exclude checks
exported method ReturnStatement.TokenLiteral should have comment or be unexported Open
Open
func (rs *ReturnStatement) TokenLiteral() string { return rs.Token.Literal }
- Exclude checks
exported method FunctionLiteral.TokenLiteral should have comment or be unexported Open
Open
func (fl *FunctionLiteral) TokenLiteral() string { return fl.Token.Literal }
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
BOOLEAN_OBJ = "BOOLEAN"
- Exclude checks
comment on exported type Integer should be of the form "Integer ..." (with optional leading article) Open
Open
// === Integer ===
- Exclude checks
exported method ReturnValue.Inspect should have comment or be unexported Open
Open
func (rv *ReturnValue) Inspect() string { return rv.Value.Inspect() }
- Exclude checks
comment on exported type Exit should be of the form "Exit ..." (with optional leading article) Open
Open
// === Exit ===
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
INTEGER_OBJ = "INTEGER"
- Exclude checks
exported method Exit.Inspect should have comment or be unexported Open
Open
func (e *Exit) Inspect() string {
- Exclude checks
exported method Error.Type should have comment or be unexported Open
Open
func (e *Error) Type() ObjectType { return ERROR_OBJ }
- Exclude checks
exported method String.Type should have comment or be unexported Open
Open
func (s *String) Type() ObjectType { return STRING_OBJ }
- Exclude checks
exported method Null.Inspect should have comment or be unexported Open
Open
func (n *Null) Inspect() string { return "null" }
- Exclude checks
exported method IfExpression.TokenLiteral should have comment or be unexported Open
Open
func (ie *IfExpression) TokenLiteral() string { return ie.Token.Literal }
- Exclude checks
exported method ExitLiteral.TokenLiteral should have comment or be unexported Open
Open
func (el *ExitLiteral) TokenLiteral() string { return el.Token.Literal }
- Exclude checks
exported var NULL should have comment or be unexported Open
Open
NULL = &object.Null{}
- Exclude checks
type name will be used as object.ObjectType by other packages, and that stutters; consider calling this Type Open
Open
type ObjectType string
- Exclude checks
comment on exported type String should be of the form "String ..." (with optional leading article) Open
Open
// === String ===
- Exclude checks
type name will be used as token.TokenType by other packages, and that stutters; consider calling this Type Open
Open
type TokenType string
- Exclude checks
exported method Program.TokenLiteral should have comment or be unexported Open
Open
func (p *Program) TokenLiteral() string {
- Exclude checks