Public Member Functions | |
v9 (_.Compiler.Util.ParseTree parseTree, _.Library.Integer visit, _.Library.Integer nodePtr, _.Library.Integer parentPtr) | |
LvnRef(9): ann name Name:1, ann enum LvnType:2, optional child Subscripts:1. More... | |
Static Public Member Functions | |
_.Library.Status | ChangeClName (_.Library.String oldName, _.Library.String newName, _.Library.String className, _.Library.String tempName, _.Library.Boolean storagechanged, _.Library.Boolean bDeleteStorage) |
The method ChangeClName is used for changing a class name. More... | |
_.Library.Status | ChangeMemName (_.Library.String oldName, _.Library.String newName, _.Library.String memclassName, _.Library.String className, _.Library.String tempName, _.Library.Boolean storagechanged, sqlName, _.Library.Boolean bNewSlot) |
The method ChangeMemName is used for changing a member name (either a property or a method). More... | |
_.Library.String | RefactorStorageProperty (_.Library.String pClassname, _.Library.String pPropName, _.Library.String pNewName, _.Library.Boolean pNewSlot, _.Library.Boolean pChanged, _.Library.Boolean pSave) |
RefactorStorageProperty takes a classname, property name, and a new property name and changes the name of the property to the new name everywhere in the storage definition. More... | |
_.Library.Status | RenameSqlField (_.Library.String sql, _.Library.String nuq, _.Library.String ffn, _.Library.String nuf, _.Library.String sch, _.Library.String tab) |
In the SQL text array (by ref) .sql(1:sql)=line, find all occurrences, if. More... | |
_.Library.Status | RenameSqlFieldLbst (_.Library.String sql, _.Library.String nuq, _.Library.String ffn, _.Library.String nuf, _.Library.String lbst, _.Library.Boolean pChanged, _.Library.String pClassname) |
In the SQL text array (by ref) .sql(1:sql)=line, find all occurrences, if. More... | |
_.Library.Status | RenameSqlTable (_.Library.String sql, _.Library.String nuq, _.Library.String sntn, _.Library.String nust, _.Library.Boolean pChanged, _.Library.String pClassname) |
In the SQL text array (by ref) .sql(1:sql)=line, find all occurrences,. More... | |
|
static |
The method ChangeClName is used for changing a class name.
Arguments: oldName - existing class name, newName - new class name, className - class to be processed, tempName - name of generated clas,s storagechanged - indicate whether storage was modified. In order to replace encounters of the class A to the class B in the class C, the call should be ChangeClName(A, B, C, .tempName, .storagechanged) As a result of this call a new class (with a name returned in tempName) will be created (but not compiled).
|
static |
The method ChangeMemName is used for changing a member name (either a property or a method).
Arguments: oldName - existing member name, newName - new member name, memclassName - the class name of a property that is being changed, className - class to be processed, tempName - name of generated clas,s storagechanged - indicate whether storage was modified. In order to replace encounters of the member Z.A to Z.B in the class C, the call should be ChangeMemName(A, B, Z, C, .tempName, .storagechanged) As a result of this call a new class (with a name returned in tempName) will be created (but not compiled).
|
static |
RefactorStorageProperty takes a classname, property name, and a new property name and changes the name of the property to the new name everywhere in the storage definition.
The pNewSlot argument means if pNewSlot=1, don't overwrite the current property storage data location, but provide a new data slot with the new name. The pChanged argument is passed by reference and will be set to 1 if any change is made to any Storage defined for this class. It will be 0 if no changes are made. Returns Status value
|
static |
In the SQL text array (by ref) .sql(1:sql)=line, find all occurrences, if.
any, of field ffn from the table specified by sch=$LB(schema) and tab=$LB(table), and replace them with nuf in the result array (by ref) .nuq(1:nuq)=line , returns Status
|
static |
In the SQL text array (by ref) .sql(1:sql)=line, find all occurrences, if.
any, of field ffn from the tables specified by lbst=$LB(schema.table), and replace them with nuf in the result array (by ref) .nuq(1:nuq)=line , pChanged=0/1 (by ref) indicates whether anything changed, return Status. pClassname is the class name the sql statement came from, if any, and its package name is used as the packages argument to comp^qaqqt
|
static |
In the SQL text array (by ref) .sql(1:sql)=line, find all occurrences,.
if any, of [schema.]table sntn=schema.table, and replace them with the new schema.table nust in the result array (by ref) .nuq(1:nuq)=line , pChanged=0/1 (by ref) indicates whether anything changed, return Status. pClassname is the class name the sql statement came from, if any, and its package name is used as the packages argument to comp^qaqqt
v9 | ( | _.Compiler.Util.ParseTree | parseTree, |
_.Library.Integer | visit, | ||
_.Library.Integer | nodePtr, | ||
_.Library.Integer | parentPtr | ||
) |
LvnRef(9): ann name Name:1, ann enum LvnType:2, optional child Subscripts:1.
LOCAL/GLOBAL VARIABLES enum LvnType: Private:1, Public:2, Parameter:3
changed |
className |
cmname |
ctind |
lhs |
lnum |
methName |
pair |
propName |
scname |
smname |
sqlTableNameList |
ssqlname |
tcname |
tmname |
tsqlname |
type |