public class StringTypeRule extends AbstractTypeRule
| Constructor and Description |
|---|
StringTypeRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a description of this rule
|
List<Suggestion> |
getSuggestions(Node node,
ParsingContext context)
Returns the suggestions of this specific rule
|
boolean |
matches(Node node)
Check if the current rule matches the specified node
|
applycleanFactory, createNodeUsingFactory, getChildren, getFactory, getSuggestions, named, ruleName, then, then, toString@Nonnull public List<Suggestion> getSuggestions(Node node, ParsingContext context)
RulegetSuggestions in class Rulenode - The nodecontext - The parse contextpublic boolean matches(@Nonnull Node node)
Rulepublic String getDescription()
RulegetDescription in class RuleCopyright © 2017. All rights reserved.