Struct js::syntax::ast::expr::Expr[src]
pub struct Expr {
pub def: ExprDef,
pub start: Position,
pub end: Position,
}A Javascript expression, including its position
Fields
def | The expression definition |
start | The starting position |
end | The ending position |
Methods
impl Expr
fn new(def: ExprDef, start: Position, end: Position) -> Expr
Create a new expression with a starting and ending position