Constructor and Description |
---|
RuleRegExp(String ruleName,
String regExp)
The rule specified by the regular expression.
|
public RuleRegExp(String ruleName, String regExp)
ruleName
- name of the ruleregExp
- regular expression for the rulepublic int cost(Stack<Node> stack) throws SemanticException
cost
in interface Rule
stack
- Node stack encountered so farSemanticException
Copyright © 2017 The Apache Software Foundation. All rights reserved.