public void AddFirst(DotItem item, MutableIntSet output) { bool isNullable = tables.AddFirst(item.GetPattern(), item.Position, output); if (isNullable) { output.AddAll(item.LA); } }
public void AddFirst(DotItem item, MutableIntSet output) { bool isNullable = tables.AddFirst(item.GetPattern(), item.Position, output); if (isNullable) { output.AddAll(item.LA); } }
public bool IsTailNullable(DotItem item) { return(tables.IsTailNullable(item.GetPattern(), item.Position)); }
public bool HasFirst(DotItem item, int token) { return(tables.HasFirst(item.GetPattern(), item.Position, token)); }
public bool IsTailNullable(DotItem item) { return tables.IsTailNullable(item.GetPattern(), item.Position); }
public bool HasFirst(DotItem item, int token) { return tables.HasFirst(item.GetPattern(), item.Position, token); }