Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JContext ¶
type JContext struct { Name string Parent *JContext ParentEntryPos *JPosition SymbolTable *JSymbolTable }
func NewJContext ¶
func NewJContext(name string, symbolTable *JSymbolTable, parent *JContext, parentEntryPos *JPosition) *JContext
type JError ¶
func (*JError) ErrorString ¶
type JExpectedCharacterError ¶
func (*JExpectedCharacterError) Error ¶
func (e *JExpectedCharacterError) Error() string
type JIllegalCharacterError ¶
func (*JIllegalCharacterError) Error ¶
func (e *JIllegalCharacterError) Error() string
type JInvalidSyntaxError ¶
func (*JInvalidSyntaxError) Error ¶
func (e *JInvalidSyntaxError) Error() string
type JNumberTypeError ¶
type JNumberTypeError struct { *JError Number interface{} }
func (*JNumberTypeError) Error ¶
func (e *JNumberTypeError) Error() string
type JRunTimeError ¶
func (*JRunTimeError) Error ¶
func (e *JRunTimeError) Error() string
type JSymbolTable ¶
type JSymbolTable struct { Symbols *safemap.SafeMap[any] Parent *JSymbolTable }
func NewJSymbolTable ¶
func NewJSymbolTable(parent *JSymbolTable) *JSymbolTable
func (*JSymbolTable) Get ¶
func (st *JSymbolTable) Get(name any) any
func (*JSymbolTable) Remove ¶
func (st *JSymbolTable) Remove(name any) *JSymbolTable
func (*JSymbolTable) Set ¶
func (st *JSymbolTable) Set(name, value any) *JSymbolTable
Click to show internal directories.
Click to hide internal directories.