forked from jshiffer/matterbridge
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
|
||
|
}
|