pub struct Scope {
pub kind: ScopeKind,
pub bind: HashMap<String, Binding>,
pub tags: HashMap<String, TagKind>,
}Expand description
The symbol and macro tables, re-exported so a caller can seed a
parse with names a header would have introduced. The canonical
plugin exports the same pair from ts/src/symbols.ts, and the Go
port exports them as SymbolTable and MacroTable.
The symbol and macro tables, re-exported so a caller can seed a
parse with names a header would have introduced. The canonical
plugin exports the same pair from ts/src/symbols.ts, and the Go
port exports them as SymbolTable and MacroTable.
The symbol and macro tables, re-exported so a caller can seed a
parse with names a header would have introduced. The canonical
plugin exports the same pair from ts/src/symbols.ts, and the Go
port exports them as SymbolTable and MacroTable.
Fields§
§kind: ScopeKind§bind: HashMap<String, Binding>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more