FORM  4.2.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 264 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 265 of file structs.h.

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 267 of file structs.h.

LONG nodesize

Maximum number of elements in namenode.

Definition at line 270 of file structs.h.

LONG nodefill

Number of currently used nodes in namenode.

Definition at line 271 of file structs.h.

LONG namesize

Allocation size of namebuffer in bytes.

Definition at line 272 of file structs.h.

LONG namefill

Number of bytes occupied.

Definition at line 273 of file structs.h.

LONG oldnamefill

UNUSED

Definition at line 274 of file structs.h.

LONG oldnodefill

UNUSED

Definition at line 275 of file structs.h.

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 276 of file structs.h.

LONG globalnodefill

Same usage as globalnamefill, but for nodefill.

Definition at line 278 of file structs.h.

LONG clearnamefill

Marks the reset point used by the .clear statement.

Definition at line 279 of file structs.h.

LONG clearnodefill

Marks the reset point used by the .clear statement.

Definition at line 280 of file structs.h.

WORD headnode

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

Definition at line 281 of file structs.h.


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