MCPcopy Create free account
hub / github.com/aspizu/goboscript / to_expr

Method to_expr

src/ast/expr.rs:77–83  ·  view source on GitHub ↗
(self, span: Span, expr: Expr)

Source from the content-addressed store, hash-verified

75
76impl UnOp {
77 pub fn to_expr(self, span: Span, expr: Expr) -> Expr {
78 Expr::UnOp {
79 op: self,
80 span,
81 opr: Box::new(expr),
82 }
83 }
84}
85
86impl BinOp {

Callers 15

incrementMethod · 0.80
decrementMethod · 0.80
augmented_assignMethod · 0.80
increment_indexMethod · 0.80
decrement_indexMethod · 0.80
list_field_accessFunction · 0.80
bin_opFunction · 0.80
un_opFunction · 0.80
minusFunction · 0.80
less_than_equalFunction · 0.80

Calls 1

newFunction · 0.85

Tested by

no test coverage detected