|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.opt.GlobalReform.MatchingData
The class MatchingData represents various matching insormation and provides methods to set/refer them.
| Field Summary | |
HIR |
expandedHir
|
boolean |
madeComplete
|
HIR |
matchedInput
|
HIR |
matchedProduction
|
java.util.Map |
nontermParamCorresp
|
GlobalReform.NontermPatInstance |
nontermPat
|
java.util.Map |
paramCorresp
|
GlobalReform.MatchingData |
parentData
|
boolean |
succeeded
|
| Constructor Summary | |
GlobalReform.MatchingData(GlobalReform.NontermPatInstance pNontermPat,
GlobalReform.MatchingData pParentData)
Make an instance of MatchingData for the nonterminal or pattern pnontermPat inheriting information of the parent matchingData pParentData. |
|
| Method Summary | |
GlobalReform.MatchingData |
getMatchingData(GlobalReform.NontermPatInstance pNontermInstance,
HIR pCallExp)
Get the instance of MatchingData that corresponds to the nonterminal call pCallExp (by refering fMatchingDataForNontermInstance). |
void |
recordMatchingData(GlobalReform.NontermPatInstance pNontermInstance,
HIR pCallExp,
GlobalReform.MatchingData pData)
Record the matched input and the matching data (pData) corresponding to the call exp (pCallExp) of pNontermInstance. |
GlobalReform.MatchingData |
reflect(GlobalReform.MatchingData pData)
For this MatchingData, set following information of pData: paramCorresp, nontermParamCorresp, matchedProduction, matchedInput, expandedHir, succeeded. |
GlobalReform.MatchingData |
reflectCorresp(GlobalReform.MatchingData pData)
Reflect paramCorresp and nontermParamCorresp of pData |
GlobalReform.MatchingData |
reflectParamCorresp(GlobalReform.MatchingData pData)
Reflect paramCorresp of pData (do not reflect nontermParamCorresp). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public GlobalReform.NontermPatInstance nontermPat
public java.util.Map paramCorresp
public java.util.Map nontermParamCorresp
public HIR matchedProduction
public HIR matchedInput
public HIR expandedHir
public boolean succeeded
public GlobalReform.MatchingData parentData
public boolean madeComplete
| Constructor Detail |
public GlobalReform.MatchingData(GlobalReform.NontermPatInstance pNontermPat,
GlobalReform.MatchingData pParentData)
pNontermPat - Instance of a nonterminal or pattern.pParentData - Parent matching data to inherit.| Method Detail |
public GlobalReform.MatchingData reflect(GlobalReform.MatchingData pData)
pData - Matching data from which information is to be copied.
public GlobalReform.MatchingData reflectCorresp(GlobalReform.MatchingData pData)
pData - matching data to inherit.
public GlobalReform.MatchingData reflectParamCorresp(GlobalReform.MatchingData pData)
pData - matching data to inherit.
public void recordMatchingData(GlobalReform.NontermPatInstance pNontermInstance,
HIR pCallExp,
GlobalReform.MatchingData pData)
pNontermInstance - nonterminal instance corresponding to pCallExp.pCallExp - expression calling pNonterminal.pData - matching data corresponding to the call exp.
public GlobalReform.MatchingData getMatchingData(GlobalReform.NontermPatInstance pNontermInstance,
HIR pCallExp)
pNontermInstance - pCallExp -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||