MCPcopy Create free account
hub / github.com/amber-lang/amber / document

Method document

src/modules/expression/expr.rs:306–352  ·  view source on GitHub ↗
(&self, meta: &ParserMetadata)

Source from the content-addressed store, hash-verified

304
305impl DocumentationModule for Expr {
306 fn document(&self, meta: &ParserMetadata) -> String {
307 document_expression!(
308 meta,
309 self.value.as_ref().unwrap(),
310 [
311 Add,
312 And,
313 Array,
314 Bool,
315 Cast,
316 Command,
317 Div,
318 Eq,
319 FunctionInvocation,
320 Ge,
321 Gt,
322 Integer,
323 Is,
324 Le,
325 Len,
326 LinesInvocation,
327 Lt,
328 Modulo,
329 Mul,
330 Nameof,
331 Neg,
332 Neq,
333 Not,
334 Null,
335 Number,
336 Or,
337 Parentheses,
338 Range,
339 Status,
340 Sub,
341 Ternary,
342 Text,
343 VariableGet,
344 Access,
345 Pwd,
346 Ls,
347 Pid,
348 Shellname,
349 Shellversion
350 ]
351 )
352 }
353}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected