public class VarNamePattern extends Object
Constructor and Description |
---|
VarNamePattern(String pattern)
Creates a new VarNamePattern object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode() |
boolean |
isApplicable(FunctionInputDef inputDef)
Returns true if this pattern is applicable to the given input definition.
|
boolean |
isValid()
Returns true if this pattern is valid.
|
boolean |
matches(String varName)
Returns true if the given variable name matches this pattern.
|
boolean |
matches(VarNamePattern varName)
Returns true if the given variable name matches this pattern.
|
String |
toString() |
public VarNamePattern(String pattern)
public boolean matches(String varName)
public boolean matches(VarNamePattern varName)
public boolean isValid()
public boolean isApplicable(FunctionInputDef inputDef)
Copyright © 2024 The Cornutum Project. All rights reserved.