Class Symbol
Package: grammarkdown
Constructors
constructor(kind, name)
Constructs a new instance of the Symbol
class
Declaration
constructor(kind: SymbolKind, name: string);
Parameters
- kind
- SymbolKind
- name
- string
Properties
id
Declaration
id: number;
Property Value
number
kind
Declaration
kind: SymbolKind;
Property Value
locals
Declaration
locals: SymbolTable | undefined;
Property Value
SymbolTable | undefined
name
Declaration
name: string;
Property Value
string
parent
Declaration
parent: Symbol | undefined;
Property Value
Symbol | undefined