mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-22 03:02:39 +01: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
|
||
|
}
|