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

Method rhs

src/blocks.rs:160–177  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

158 }
159
160 pub fn rhs(&self) -> &'static str {
161 match self {
162 Self::Add => "NUM2",
163 Self::Sub => "NUM2",
164 Self::Mul => "NUM2",
165 Self::Div => "NUM2",
166 Self::Mod => "NUM2",
167 Self::Lt => "OPERAND2",
168 Self::Gt => "OPERAND2",
169 Self::Eq => "OPERAND2",
170 Self::And => "OPERAND2",
171 Self::Or => "OPERAND2",
172 Self::Join => "STRING2",
173 Self::In => "STRING1",
174 Self::Of => "LETTER",
175 _ => unreachable!(),
176 }
177 }
178}
179#[derive(Debug, Copy, Clone)]
180pub enum Block {

Callers 1

bin_opMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected