Struct perplex::item_set::ItemSet[][src]

pub struct ItemSet { /* fields omitted */ }

An item set.

Methods

impl ItemSet
[src]

Create a new item set.

Create a new item set with certain items.

Get the id of the item set.

Get the items in the set.

Get the kernel items in the set.

Get a pretty printer for this item set.

Compute the closure of the item set.

Compute the kernel item cores.

The returned struct can be used to compare two item sets for equality in their kernel item cores.

Replace all occurrences of one action with another.

Important traits for Actions<'a>

Get an iterator over the actions in the set.

Important traits for ActionsMut<'a>

Get a mutable iterator over the actions in the set.

Merge another item set into this.

Compress the item set.

This will remove redundant items and replace their lookahead token with a #.

Trait Implementations

impl Debug for ItemSet
[src]

Formats the value using the given formatter. Read more

impl Clone for ItemSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ItemSet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ItemSet
[src]

impl Hash for ItemSet
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for ItemSet

impl Sync for ItemSet