Struct phile::ast::ClassDecl [] [src]

pub struct ClassDecl<'a> {
    pub range: Range,
    pub name: &'a str,
    pub fields: Vec<Field<'a>>,
}

Definition of a class type.

Fields

The source range of the type definition.

The name of the class type.

The fields of the class type.

Trait Implementations

impl<'a> Debug for ClassDecl<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ClassDecl<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for ClassDecl<'a>
[src]

impl<'a> Hash for ClassDecl<'a>
[src]

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

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

impl<'a> Ranged for ClassDecl<'a>
[src]

Returns the range self was generated from.