Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chermehdi/comet
/ types & classes
Types & classes
52 in github.com/chermehdi/comet
⨍
Functions
305
◇
Types & classes
52
Struct
ArrayLiteral
pkg/parser/node.go:392
Struct
AssignExpression
pkg/parser/node.go:331
Struct
BinaryExpression
pkg/parser/node.go:80
Struct
BlockStatement
pkg/parser/node.go:225
Struct
BooleanLiteral
pkg/parser/node.go:198
Struct
Builtin
pkg/std/builtins.go:10
Struct
CallExpression
pkg/parser/node.go:310
FuncType
Callback
func(args ...CometObject) CometObject
pkg/std/builtins.go:8
Struct
CometArray
pkg/std/types.go:73
Struct
CometBool
pkg/std/types.go:47
Struct
CometError
pkg/std/types.go:95
Struct
CometFunc
pkg/std/types.go:129
Struct
CometInstance
CometInstance is the object created from a given `Type`
pkg/std/types.go:199
Struct
CometInt
pkg/std/types.go:35
Interface
CometObject
CometObject represents Every object (or primitive) in the comet programming language.
pkg/std/types.go:27
Struct
CometRange
pkg/std/types.go:144
Struct
CometReturnWrapper
pkg/std/types.go:117
Struct
CometStr
pkg/std/types.go:59
Struct
CometStruct
CometStruct represents a struct declaration in the comet language. Top level declaration
pkg/std/types.go:166
TypeAlias
CometType
CometType is a type alias mapping some strings to types
pkg/std/types.go:11
Struct
DeclarationStatement
pkg/parser/node.go:163
Struct
ErrorBag
Container for errors specific to comet.
pkg/parser/parser.go:55
Struct
Evaluator
pkg/eval/evaluator.go:10
Interface
Expression
pkg/parser/node.go:54
Struct
ForStatement
pkg/parser/node.go:266
Struct
FunctionStatement
pkg/parser/node.go:285
Struct
IdentifierExpression
pkg/parser/node.go:143
Struct
IfStatement
pkg/parser/node.go:241
Struct
IndexAccess
pkg/parser/node.go:412
Struct
Lexer
pkg/lexer/lexer.go:8
Struct
NewCallExpr
pkg/parser/node.go:450
Interface
Node
pkg/parser/node.go:44
Interface
NodeVisitor
NodeVisitor is the API provided by all nodes types. Implementing a visitor will allow you to traverse the AST and perform some operation (printing, t
pkg/parser/node.go:17
Struct
NopObject
pkg/std/types.go:107
Struct
NumberLiteral
pkg/parser/node.go:352
Struct
Param
Param is a named parameter within the interpreter
pkg/eval/evaluator.go:17
Struct
ParenthesisedExpression
pkg/parser/node.go:123
Struct
ParseError
pkg/parser/parser.go:45
Struct
Parser
pkg/parser/parser.go:95
Struct
PrefixExpression
pkg/parser/node.go:102
Struct
PrintingVisitor
pkg/debug/printer.go:11
Struct
ReturnStatement
pkg/parser/node.go:181
Struct
RootNode
pkg/parser/node.go:60
Struct
Scope
pkg/eval/evaluator.go:37
Interface
Statement
pkg/parser/node.go:49
Struct
StringLiteral
pkg/parser/node.go:372
Struct
StructDeclarationStatement
pkg/parser/node.go:433
Struct
TestingVisitor
The testing visitor should assert on the structure of the tree while doing the traversal The expect nodes are given in in-order(ish) traversal. The ch
pkg/parser/parser_test.go:12
Struct
Token
pkg/lexer/token.go:5
TypeAlias
TokenType
pkg/lexer/token.go:3
FuncType
binaryParseFunction
Functions of this type are going to be used to parse binary operations such as addition subtraction ... The first parameters is the already parsed lef
pkg/parser/parser.go:89
FuncType
prefixParseFunction
Function of this type are going to be use to parse unary operations such as ! -a +12 The return value is Prefix Expression representing the parsed exp
pkg/parser/parser.go:93