Struct commands::parser::RootNode [] [src]

pub struct RootNode {
    pub node: TreeNode,
}

The root of a command tree.

Fields

TreeNode data.

Methods

impl RootNode
[src]

Create a new RootNode

Trait Implementations

impl NodeOps for RootNode
[src]

RootNode does not want to perform any actual NodeOps as these operations should only be invoked by the Parser on successor nodes.

Accept this node with the given token as data. Read more

Can this node be accepted in the current parser state? By default, a node can be accepted when it hasn't been seen yet. Read more

A RootNode can not be completed.

A RootNode can not be matched.