Package org.nineml.coffeegrinder.parser
Class Family
- java.lang.Object
-
- org.nineml.coffeegrinder.parser.Family
-
public class Family extends java.lang.ObjectAn internal class representing a family of nodes in the SPPF.This has no public use, but it's shared between two classes so it can't be private to either of them.
-
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<ParserAttribute>getLeftAttributes()ForestNodegetLeftNode()intgetPriority()java.util.List<ParserAttribute>getRightAttributes()Symbol[]getRightHandSide()ForestNodegetRightNode()SymbolgetSymbol()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getSymbol
public Symbol getSymbol()
-
getRightHandSide
public Symbol[] getRightHandSide()
-
getLeftAttributes
public java.util.List<ParserAttribute> getLeftAttributes()
-
getRightAttributes
public java.util.List<ParserAttribute> getRightAttributes()
-
getLeftNode
public ForestNode getLeftNode()
-
getRightNode
public ForestNode getRightNode()
-
getPriority
public int getPriority()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-