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