public abstract class RegexpContext extends SimpleContext
NamedContext.Type| Modifier | Constructor and Description |
|---|---|
protected |
RegexpContext(int index,
String name,
Pattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Pattern |
getPattern() |
NamedContext.Type |
getType()
It's a code context based on regular expressions.
|
int |
hashCode() |
boolean |
isEquivalent(RegexpContext other) |
boolean |
matches(String matchString) |
String |
toString() |
getIndex, getName, setIndexpublic Pattern getPattern()
public boolean matches(String matchString)
public boolean isEquivalent(RegexpContext other)
public NamedContext.Type getType()
getType in interface NamedContextgetType in class SimpleContextpublic boolean equals(Object o)
equals in class SimpleContextpublic int hashCode()
hashCode in class SimpleContextpublic String toString()
toString in class SimpleContextCopyright © 2024 OpenClover.org. All rights reserved.