Struct portus::lang::Prog[][src]

pub struct Prog(pub Vec<Event>);

AST representation of a datapath program.

Methods

impl Prog
[src]

Turn raw bytes into an AST representation, including implementing syntactic sugar features such as (report) and (fallthrough).

Trait Implementations

impl Debug for Prog
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Prog
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Prog

impl Sync for Prog