Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
Statements []interfaces.Statement
// contains filtered or unexported fields
}
func (*Block) Add ¶
func (b *Block) Add(s interfaces.Statement)
func (*Block) InitScope ¶
func (b *Block) InitScope(parent interfaces.Scope) *parser.ParseError
func (*Block) SetEmbedder ¶
func (b *Block) SetEmbedder(embedder interfaces.Symbol)
type FQIdentifier ¶
func NewFQIdentifier ¶
func NewFQIdentifier(tree parser.IFqIdentifierContext) *FQIdentifier
func (*FQIdentifier) String ¶
func (i *FQIdentifier) String() string
type SymbolTable ¶
type SymbolTable struct {
// contains filtered or unexported fields
}
func NewSymbolTable ¶
func NewSymbolTable() *SymbolTable
func (*SymbolTable) AllSymbols ¶
func (s *SymbolTable) AllSymbols() iter.Seq[interfaces.Symbol]
func (*SymbolTable) Define ¶
func (s *SymbolTable) Define(symbol interfaces.Symbol) bool
func (*SymbolTable) Pop ¶
func (s *SymbolTable) Pop() interfaces.Scope
func (*SymbolTable) Push ¶
func (s *SymbolTable) Push() interfaces.Scope
func (*SymbolTable) Resolve ¶
func (s *SymbolTable) Resolve(name string) interfaces.Symbol
type Time ¶
func NewTimeFromString ¶
Click to show internal directories.
Click to hide internal directories.