Showing 129 of 129 total issues
exported method LetStatement.TokenLiteral should have comment or be unexported Open
Open
func (ls *LetStatement) TokenLiteral() string { return ls.Token.Literal }
- Exclude checks
exported function New should have comment or be unexported Open
Open
func New(input string) *Lexer {
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
BUILTIN_OBJ = "BUILTIN"
- Exclude checks
exported method Error.Inspect should have comment or be unexported Open
Open
func (e *Error) Inspect() string {
- Exclude checks
comment on exported type Null should be of the form "Null ..." (with optional leading article) Open
Open
// === Null ===
- Exclude checks
comment on exported type ReturnValue should be of the form "ReturnValue ..." (with optional leading article) Open
Open
// === Return ===
- Exclude checks
exported method Builtin.Inspect should have comment or be unexported Open
Open
func (b *Builtin) Inspect() string { return "builtin function" }
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported method Identifier.TokenLiteral should have comment or be unexported Open
Open
func (i *Identifier) TokenLiteral() string { return i.Token.Literal }
- Exclude checks
exported method InfixExpression.TokenLiteral should have comment or be unexported Open
Open
func (ie *InfixExpression) TokenLiteral() string { return ie.Token.Literal }
- Exclude checks
exported method BlockStatement.TokenLiteral should have comment or be unexported Open
Open
func (bs *BlockStatement) TokenLiteral() string { return bs.Token.Literal }
- Exclude checks
comment on exported type Error should be of the form "Error ..." (with optional leading article) Open
Open
// === Errors ===
- Exclude checks
exported method Integer.Inspect should have comment or be unexported Open
Open
func (i *Integer) Inspect() string { return fmt.Sprintf("%d", i.Value) }
- Exclude checks
exported method Boolean.Type should have comment or be unexported Open
Open
func (b *Boolean) Type() ObjectType { return BOOLEAN_OBJ }
- Exclude checks
exported method Function.Inspect should have comment or be unexported Open
Open
func (f *Function) Inspect() string {
- Exclude checks
comment on exported type BuiltinFunction should be of the form "BuiltinFunction ..." (with optional leading article) Open
Open
// === Builtin ===
- Exclude checks
exported method Exit.Type should have comment or be unexported Open
Open
func (e *Exit) Type() ObjectType { return EXIT_OBJ }
- Exclude checks
exported function Start should have comment or be unexported Open
Open
func Start(in io.Reader, out io.Writer) {
- Exclude checks
comment on exported const FUNCTION should be of the form "FUNCTION ..." Open
Open
// Keywords
- Exclude checks
exported method Boolean.TokenLiteral should have comment or be unexported Open
Open
func (b *Boolean) TokenLiteral() string { return b.Token.Literal }
- Exclude checks