Enum cpp_demangle::ast::Type [] [src]

pub enum Type {
    Function(FunctionType),
    ClassEnum(ClassEnumType),
    Array(ArrayType),
    PointerToMember(PointerToMemberType),
    TemplateParam(TemplateParam),
    TemplateTemplate(TemplateTemplateParamHandleTemplateArgs),
    Decltype(Decltype),
    Qualified(CvQualifiersTypeHandle),
    PointerTo(TypeHandle),
    LvalueRef(TypeHandle),
    RvalueRef(TypeHandle),
    Complex(TypeHandle),
    Imaginary(TypeHandle),
    VendorExtension(SourceNameOption<TemplateArgs>, TypeHandle),
    PackExpansion(TypeHandle),
}

The <type> production.

<type> ::= <builtin-type>
       ::= <function-type>
       ::= <class-enum-type>
       ::= <array-type>
       ::= <pointer-to-member-type>
       ::= <template-param>
       ::= <template-template-param> <template-args>
       ::= <decltype>
       ::= <CV-qualifiers> <type>
       ::= P <type>                                 # pointer-to
       ::= R <type>                                 # reference-to
       ::= O <type>                                 # rvalue reference-to (C++0x)
       ::= C <type>                                 # complex pair (C 2000)
       ::= G <type>                                 # imaginary (C 2000)
       ::= U <source-name> [<template-args>] <type> # vendor extended type qualifier
       ::= Dp <type>                                # pack expansion (C++0x)
       ::= <substitution>

Variants

A function type.

A class, union, or enum type.

An array type.

A pointer-to-member type.

A named template parameter type.

A template template type.

A decltype.

A const-, restrict-, and/or volatile-qualified type.

A pointer to a type.

An lvalue reference to a type.

An rvalue reference to a type.

A complex pair of the given type.

An imaginary of the given type.

A vendor extended type qualifier.

A pack expansion.

Trait Implementations

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Type
[src]

Formats the value using the given formatter.

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