Package org.eclipse.epsilon.epl.execute
Class PatternMatch
- java.lang.Object
-
- org.eclipse.epsilon.epl.execute.PatternMatch
-
public class PatternMatch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Pattern
pattern
protected java.util.Map<java.lang.String,java.lang.Object>
roleBindings
-
Constructor Summary
Constructors Constructor Description PatternMatch(Pattern pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Pattern
getPattern()
java.lang.Object
getRoleBinding(java.lang.String name)
java.util.Map<java.lang.String,java.lang.Object>
getRoleBindings()
int
hashCode()
void
putRoleBinding(Variable variable)
java.lang.String
toString()
-
-
-
Field Detail
-
pattern
protected final Pattern pattern
-
roleBindings
protected java.util.Map<java.lang.String,java.lang.Object> roleBindings
-
-
Constructor Detail
-
PatternMatch
public PatternMatch(Pattern pattern)
-
-
Method Detail
-
getPattern
public Pattern getPattern()
-
getRoleBindings
public java.util.Map<java.lang.String,java.lang.Object> getRoleBindings()
-
getRoleBinding
public java.lang.Object getRoleBinding(java.lang.String name)
-
putRoleBinding
public void putRoleBinding(Variable variable)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-