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

Method on_timer_gt

src/codegen/event.rs:71–78  ·  view source on GitHub ↗
(&mut self, s: S, d: D, this_id: NodeID, value: &Expr)

Source from the content-addressed store, hash-verified

69 }
70
71 pub fn on_timer_gt(&mut self, s: S, d: D, this_id: NodeID, value: &Expr) -> io::Result<()> {
72 self.begin_inputs()?;
73 self.input(s, d, "VALUE", value, this_id)?;
74 self.end_obj()?; // inputs
75 self.single_field("WHENGREATERTHANMENU", "TIMER")?;
76 self.end_obj()?; // node
77 self.expr(s, d, value, this_id, this_id)
78 }
79
80 pub fn on_clone(&mut self, _s: S, _d: D, _this_id: NodeID) -> io::Result<()> {
81 self.end_obj() // node

Callers 1

eventMethod · 0.80

Calls 5

begin_inputsMethod · 0.80
end_objMethod · 0.80
single_fieldMethod · 0.80
exprMethod · 0.80
inputMethod · 0.45

Tested by

no test coverage detected