|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.opt.GlobalReform.MatchingData
The class MatchingData represents various matching insormation and provides methods to set/refer them.
フィールドの概要 | |
HIR |
expandedHir
|
boolean |
madeComplete
|
HIR |
matchedInput
|
HIR |
matchedProduction
|
java.util.Map |
nontermParamCorresp
|
GlobalReform.NontermPatInstance |
nontermPat
|
java.util.Map |
paramCorresp
|
GlobalReform.MatchingData |
parentData
|
boolean |
succeeded
|
コンストラクタの概要 | |
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. |
メソッドの概要 | |
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). |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
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
コンストラクタの詳細 |
public GlobalReform.MatchingData(GlobalReform.NontermPatInstance pNontermPat, GlobalReform.MatchingData pParentData)
pNontermPat
- Instance of a nonterminal or pattern.pParentData
- Parent matching data to inherit.メソッドの詳細 |
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
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |