public class TypeRule extends Object implements SemanticRule
public TypeRule(Class<?> nodeClass)
public int cost(Stack<Node> stack) throws SemanticException
cost in interface Rulecost in interface SemanticRuleSemanticExceptionpublic String getName()
getName in interface RulegetName in interface SemanticRuleCopyright © 2024 The Apache Software Foundation. All rights reserved.