Class domEntity

This class will be used as temporary storage for the information that is gathered when building the DOM for a resource. Once the information has been collected, this object will be passed to the 'domManager'. Each object type that is added will include a referece to the line number of the declaration.

Build Information

Author Fred McGuirk
Date Feb 7, 2007
Outputfile domEntity.pvc
Forcelinenumbers false

Constructor

Create a new object to store the properties of this resource.

ParameterDescription
inResource$ The name of the resource
inType The type of resource

Properties

No Properties

Methods

FUNCTION addDefFunction(inFunction$, inLine)

Add a DEF FN

ParameterDescription
inFunction$ The name of the function
inLine The line number for this reference
FUNCTION addFunction(inFunction$, inLine)

Add a FUNCTION

ParameterDescription
inFunction$ The name of the function
inLine The line number for this reference
FUNCTION addKeyword(inKeyword$, inValue$, inLine)

Add a KEYWORD/VALUE combination

ParameterDescription
inKeyword$ A tag to indentify the type of reference
inValue$ The name of this reference
inLine The line number for this reference
FUNCTION addLabel(inLabel$, inLine)

Add a LABEL

ParameterDescription
inLabel$ The statement label
inLine The line number for this reference
FUNCTION addLocal(inVariable$, inLine)

Add a LOCAL property within a class definition

ParameterDescription
inVariable$ The variable for the local property
inLine The line number for this reference
FUNCTION addLocalFunction(inFunction$, inLine)

Add a FUNCTION LOCAL

ParameterDescription
inFunction$ The name of the local function
inLine The line number for this reference
FUNCTION addObjectProperty(inProperty$, inLine)

Add a PROPERTY that references an object

ParameterDescription
inProperty$ The name for a property that references an object
inLine The line number for this reference
FUNCTION addProperty(inProperty$, inLine)

Add a PROPERTY

ParameterDescription
inProperty$ The name for a property
inLine The line number for this reference
FUNCTION addVariable(inVariable$, inLine)

Add a VARIABLE

ParameterDescription
inVariable$ The name of the variable
inLine The line number for this reference
FUNCTION getNextLine$()

Return the next line from the stored information stored within this object

FUNCTION getResource$()

Return the name of the resource

FUNCTION getResourcePath$()

Return the path to the resource within the project

FUNCTION getType()

Return the type of the resource