Module ast

Source
Expand description

Re-exports or generator and general use

Re-exports§

pub use crate::functions::FunctionBase;
pub use crate::functions::FunctionBody;
pub use crate::functions::FunctionHeader;
pub use crate::functions::FunctionParameters;
pub use crate::functions::MethodHeader;
pub use crate::functions::Parameter;
pub use crate::functions::ParameterData;
pub use crate::functions::SpreadParameter;
pub use crate::number::NumberRepresentation;
pub use crate::Block;
pub use crate::Decorated;
pub use crate::ExpressionPosition;
pub use crate::PropertyKey;
pub use crate::StatementOrDeclaration;
pub use crate::StatementPosition;
pub use crate::VariableField;
pub use crate::VariableIdentifier;
pub use crate::WithComment;
pub use self::assignments::LHSOfAssignment;
pub use self::assignments::VariableOrPropertyAccess;
pub use crate::declarations::classes::*;
pub use crate::declarations::*;
pub use crate::expressions::*;
pub use crate::statements::*;

Structs§

BaseSpan
A start and end. Also contains trace of original source (depending on T)
JSXElement
JSXFragment
SourceId
A identifier for a crate::Source

Enums§

JSXAttribute
TODO spread attributes and boolean attributes
JSXElementChildren
JSXNode
JSXRoot

Functions§

html_tag_contains_literal_content
Used for lexing
html_tag_is_self_closing
Used for lexing