Showing 129 of 129 total issues
don't use ALL_CAPS in Go names; use CamelCase Open
Open
ERROR_OBJ = "ERROR"
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
NULL_OBJ = "NULL"
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
RETURN_VALUE_OBJ = "RETURN_VALUE"
- Exclude checks
exported method Builtin.Type should have comment or be unexported Open
Open
func (b *Builtin) Type() ObjectType { return BUILTIN_OBJ }
- Exclude checks
comment on exported type TokenType should be of the form "TokenType ..." (with optional leading article) Open
Open
// Improvement: Use byte for better performance (pg12)
- Exclude checks
exported type Statement should have comment or be unexported Open
Open
type Statement interface {
- Exclude checks
exported method StringLiteral.TokenLiteral should have comment or be unexported Open
Open
func (sl *StringLiteral) TokenLiteral() string { return sl.Token.Literal }
- Exclude checks
exported method PrefixExpression.TokenLiteral should have comment or be unexported Open
Open
func (pe *PrefixExpression) TokenLiteral() string { return pe.Token.Literal }
- Exclude checks
exported method WhileExpression.TokenLiteral should have comment or be unexported Open
Open
func (we *WhileExpression) TokenLiteral() string { return we.Token.Literal }
- Exclude checks
exported method ArrayLiteral.TokenLiteral should have comment or be unexported Open
Open
func (al *ArrayLiteral) TokenLiteral() string { return al.Token.Literal }
- Exclude checks
exported function Eval should have comment or be unexported Open
Open
func Eval(node ast.Node, env *object.Environment) object.Object {
- Exclude checks
exported method Environment.Get should have comment or be unexported Open
Open
func (e *Environment) Get(name string) (Object, bool) {
- Exclude checks
exported method Null.Type should have comment or be unexported Open
Open
func (n *Null) Type() ObjectType { return NULL_OBJ }
- Exclude checks
exported type Parser should have comment or be unexported Open
Open
type Parser struct {
- Exclude checks
comment on exported const IDENT should be of the form "IDENT ..." Open
Open
// Identifiers + literals
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
NOT_EQ = "!="
- Exclude checks
exported type IntegerLiteral should have comment or be unexported Open
Open
type IntegerLiteral struct {
- Exclude checks
exported type Boolean should have comment or be unexported Open
Open
type Boolean struct {
- Exclude checks
exported type IndexExpression should have comment or be unexported Open
Open
type IndexExpression struct {
- Exclude checks
exported method Parser.ParseProgram should have comment or be unexported Open
Open
func (p *Parser) ParseProgram() *ast.Program {
- Exclude checks