IRISLIB database
CompilerContext Class Reference

This class represents the context of the current CSP compile. More...

Inheritance diagram for CompilerContext:
Collaboration diagram for CompilerContext:

Public Member Functions

_.Library.String Get (_.Library.String property, _.Library.String default)
 Return the value of property property. More...
 
_.Library.String GetByKey (_.Library.String key, _.Library.String name, _.Library.String default)
 Return the value associated with key and name. More...
 
_.Library.Boolean IsDefined (_.Library.String property)
 Tests if property property is defined.
 
_.Library.Boolean IsDefinedByKey (_.Library.String key, _.Library.String name)
 Test if the value associated with key and name is defined. More...
 
_.Library.String Next (_.Library.String property)
 Get the name of the next property.
 
_.Library.String NextByKey (_.Library.String key, _.Library.String name)
 Get the next name for key.
 
 RemoveByKey (_.Library.String key, _.Library.String name)
 Remove the value associated with key and name. More...
 
 Set (_.Library.String property, _.Library.String value)
 Set the value of property property to value.
 
 SetByKey (_.Library.String key, _.Library.String name, _.Library.String value)
 Set the value associated with key and name. More...
 
 clear ()
 Clear the contents of this object.
 
 remove (_.Library.String property)
 Removes property property from this object.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 InScript
 The InScript property is true inside of an unrecognized script tag. More...
 
 IsBasic
 <property>IsBasic</property> is true (=1) if the current CSP page is written More...
 
 PageLanguage
 <property>PageLanguage</property> is language used to implement the current CSP page. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

This class represents the context of the current CSP compile.

This class is primarily a set of name/value pairs where the names can be thought of as "properties".

Member Function Documentation

◆ Get()

_.Library.String Get ( _.Library.String  property,
_.Library.String  default 
)

Return the value of property property.

If the property is not

defined, returns a null string ("").

◆ GetByKey()

_.Library.String GetByKey ( _.Library.String  key,
_.Library.String  name,
_.Library.String  default 
)

Return the value associated with key and name.

All key's used by CSP rules begin with "%". If the value is not defined, returns a null string ("").

◆ IsDefinedByKey()

_.Library.Boolean IsDefinedByKey ( _.Library.String  key,
_.Library.String  name 
)

Test if the value associated with key and name is defined.

All key's used by CSP rules begin with "%".

◆ RemoveByKey()

RemoveByKey ( _.Library.String  key,
_.Library.String  name 
)

Remove the value associated with key and name.

All key's used by CSP rules begin with "%".

◆ SetByKey()

SetByKey ( _.Library.String  key,
_.Library.String  name,
_.Library.String  value 
)

Set the value associated with key and name.

All key's used by CSP rules begin with "%".

Member Data Documentation

◆ InScript

InScript

The InScript property is true inside of an unrecognized script tag.

 

◆ IsBasic

IsBasic

<property>IsBasic</property> is true (=1) if the current CSP page is written

in either Cache Basic or MV Basic. The <property>IsBasic</property> should not be modified by user code.  

◆ PageLanguage

PageLanguage

<property>PageLanguage</property> is language used to implement the current CSP page.

Possible values are "cache", "basic" and "mvbasic". The <property>PageLanguage</property> should not be modified by user code.