Struct perplex::item_set::Item[][src]

pub struct Item { /* fields omitted */ }

A single item.

Methods

impl Item
[src]

Get the rule this item represents.

Get the lookahead terminal of this item.

Get the position of the marker within the rule.

Get the action associated with this item.

Change the action of this item.

Get a pretty printer for this item.

Whether this item has a shift action.

Whether this item has a reduce action.

Whether this item has an action.

Trait Implementations

impl Debug for Item
[src]

Formats the value using the given formatter. Read more

impl Copy for Item
[src]

impl Clone for Item
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Item
[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 Item
[src]

impl Hash for Item
[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 Item

impl Sync for Item