Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
impl 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
86
impl BinOp {
Callers
15
increment
Method · 0.80
decrement
Method · 0.80
augmented_assign
Method · 0.80
augmented_field_assign
Method · 0.80
increment_index
Method · 0.80
decrement_index
Method · 0.80
augmented_index_assign
Method · 0.80
list_field_access
Function · 0.80
bin_op
Function · 0.80
un_op
Function · 0.80
minus
Function · 0.80
less_than_equal
Function · 0.80
Calls
1
new
Function · 0.85
Tested by
no test coverage detected