public final class Rule extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Rule.Builder |
| Constructor and Description |
|---|
Rule(Symbol left,
List<Symbol> right) |
Rule(Symbol left,
SymbolString right) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Symbol |
getLeft() |
SymbolString |
getRight() |
int |
hashCode() |
static Rule.Builder |
rule(Symbol left) |
static Rule |
rule(Symbol left,
List<Symbol> right) |
static <T> Set<T> |
setOf(T... items) |
String |
toString() |
public Rule(Symbol left, SymbolString right)
public Symbol getLeft()
public SymbolString getRight()
public static Rule.Builder rule(Symbol left)
@SafeVarargs public static <T> Set<T> setOf(T... items)
Copyright © 2020. All rights reserved.