Skip to main content

luaur_ast/methods/
ast_expr_as_expr.rs

1use crate::records::ast_expr::AstExpr;
2
3impl AstExpr {
4    pub fn as_expr(&mut self) -> *mut AstExpr {
5        self as *mut AstExpr
6    }
7}
8
9#[allow(non_snake_case)]
10pub fn ast_expr_as_expr(this: *mut AstExpr) -> *mut AstExpr {
11    this
12}