Struct erl_pp::PredefinedMacros [] [src]

pub struct PredefinedMacros { /* fields omitted */ }

Predefined macros.

See 9.3 Predefined Macros for detailed information.

Methods

impl PredefinedMacros
[src]

Makes a new PredefinedMacros instance.

Sets the value of MODULE and MODULE_NAME macros.

Sets the value of FUNCTION_NAME macro.

Sets the value of FUNCTION_ARITY macro.

Clears the value of MODULE and MODULE_NAME macros.

Clears the value of FUNCTION_NAME macro.

Clears the value of FUNCTION_ARITY macro.

Tries to expand the specified macro call.

If the call is not a predefined macro, this will return Ok(None).

Trait Implementations

impl Debug for PredefinedMacros
[src]

Formats the value using the given formatter.

impl Default for PredefinedMacros
[src]

Returns the "default value" for a type. Read more