Module rustdoc::clean::cfg[][src]

Representation of a #[doc(cfg(...))] attribute.

Re-exports

use std::mem;
use std::fmt;
use std::fmt::Write;
use std::ops;
use syntax::symbol::Symbol;
use syntax::ast::MetaItem;
use syntax::ast::MetaItemKind;
use syntax::ast::NestedMetaItem;
use syntax::ast::NestedMetaItemKind;
use syntax::ast::LitKind;
use syntax::parse::ParseSess;
use syntax::feature_gate::Features;
use syntax_pos::Span;
use html::escape::Escape;

Structs

Html

Pretty-print wrapper for a Cfg. Also indicates whether the "short-form" rendering should be used.

InvalidCfgError

Enums

Cfg

Functions

write_with_opt_paren