Package jetbrains.mps.lang.pattern
Class GeneratedMatchingPattern
- java.lang.Object
 - 
- jetbrains.mps.lang.pattern.DefaultMatchingPattern
 - 
- jetbrains.mps.lang.pattern.GeneratedMatchingPattern
 
 
 
- 
- All Implemented Interfaces:
 IMatchingPattern
- Direct Known Subclasses:
 GeneratedMatcher
public class GeneratedMatchingPattern extends DefaultMatchingPattern
This class is of no real use for anyone but typesystem, which needs access to methods like fillFieldValuesFrom and and hasAntiquotations. performActions might need a distinct interface in dataFlow, and getFieldValue() use in generator might require generic getMatchedValue() inDefaultMatchingPattern. 
- 
- 
Constructor Summary
Constructors Constructor Description GeneratedMatchingPattern() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillFieldValuesFrom(GeneratedMatchingPattern pattern)SConceptgetConcept()ObjectgetFieldValue(String s)Generic access to matched values, don't use unless generic is the only way to go.booleanhasAntiquotations()voidperformActions(Object o)- 
Methods inherited from class jetbrains.mps.lang.pattern.DefaultMatchingPattern
getMatchedList, getMatchedNode, getMatchedProperty, match 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getFieldValue
public Object getFieldValue(String s)
Generic access to matched values, don't use unless generic is the only way to go. PreferDefaultMatchingPattern.getMatchedNode(String),DefaultMatchingPattern.getMatchedProperty(String)andDefaultMatchingPattern.getMatchedList(String)instead. 
- 
hasAntiquotations
public boolean hasAntiquotations()
 
- 
fillFieldValuesFrom
public void fillFieldValuesFrom(GeneratedMatchingPattern pattern)
 
- 
performActions
public void performActions(Object o)
 
- 
getConcept
@NotNull public SConcept getConcept()
- Specified by:
 getConceptin interfaceIMatchingPattern- Overrides:
 getConceptin classDefaultMatchingPattern
 
 - 
 
 -