FORM  4.1
Data Fields
NaMeTree Struct Reference

#include <structs.h>

Data Fields

NAMENODEnamenode
 
UBYTE * namebuffer
 
LONG nodesize
 
LONG nodefill
 
LONG namesize
 
LONG namefill
 
LONG oldnamefill
 
LONG oldnodefill
 
LONG globalnamefill
 
LONG globalnodefill
 
LONG clearnamefill
 
LONG clearnodefill
 
WORD headnode
 

Detailed Description

A struct of type NAMETREE controls a complete (balanced) tree of names for the compiler. The compiler maintains several of such trees and the system has been set up in such a way that one could define more of them if we ever want to work with local name spaces.

Definition at line 252 of file structs.h.

Field Documentation

NAMENODE* namenode

[D] Vector of NAMENODE's. Number of elements is nodesize. =0 if no memory has been allocated.

Definition at line 253 of file structs.h.

Referenced by InitRecovery().

UBYTE* namebuffer

[D] Buffer that holds all the name strings refered to by the NAMENODE's. Allocation size is namesize. =0 if no memory has been allocated.

Definition at line 255 of file structs.h.

Referenced by InitRecovery().

LONG nodesize

Maximum number of elements in namenode.

Definition at line 258 of file structs.h.

Referenced by InitRecovery().

LONG nodefill

Number of currently used nodes in namenode.

Definition at line 259 of file structs.h.

Referenced by InitRecovery().

LONG namesize

Allocation size of namebuffer in bytes.

Definition at line 260 of file structs.h.

Referenced by InitRecovery().

LONG namefill

Number of bytes occupied.

Definition at line 261 of file structs.h.

Referenced by InitRecovery().

LONG oldnamefill

UNUSED

Definition at line 262 of file structs.h.

Referenced by InitRecovery().

LONG oldnodefill

UNUSED

Definition at line 263 of file structs.h.

Referenced by InitRecovery().

LONG globalnamefill

Set by .global statement to the value of namefill. When a .store command is processed, this value will be used to reset namefill.

Definition at line 264 of file structs.h.

Referenced by InitRecovery().

LONG globalnodefill

Same usage as globalnamefill, but for nodefill.

Definition at line 266 of file structs.h.

Referenced by InitRecovery().

LONG clearnamefill

Marks the reset point used by the .clear statement.

Definition at line 267 of file structs.h.

Referenced by InitRecovery().

LONG clearnodefill

Marks the reset point used by the .clear statement.

Definition at line 268 of file structs.h.

Referenced by InitRecovery().

WORD headnode

Offset in namenode of head node. =-1 if tree is empty.

Definition at line 269 of file structs.h.

Referenced by InitRecovery().


The documentation for this struct was generated from the following file: