mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-11 03:32:01 -08:00
10 lines
229 B
Go
10 lines
229 B
Go
|
package compiler
|
||
|
|
||
|
// Symbol represents a symbol in the symbol table.
|
||
|
type Symbol struct {
|
||
|
Name string
|
||
|
Scope SymbolScope
|
||
|
Index int
|
||
|
LocalAssigned bool // if the local symbol is assigned at least once
|
||
|
}
|