Skip to content

Commit

Permalink
Sort docs methods alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Sep 13, 2024
1 parent 25d3f6e commit df417fd
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/docs/noir/standard_library/meta/expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ return each statement in the block.
If this expression is a constructor `Type { field1: expr1, ..., fieldN: exprN }`,
return the type and the fields.

### as_for

#include_code as_for noir_stdlib/src/meta/expr.nr rust

If this expression is a for statement over a single expression, return the identifier,
the expression and the for loop body.

### as_for_range

#include_code as_for noir_stdlib/src/meta/expr.nr rust

If this expression is a for statement over a range, return the identifier,
the range start, the range end and the for loop body.

### as_function_call

#include_code as_function_call noir_stdlib/src/meta/expr.nr rust
Expand Down Expand Up @@ -102,20 +116,6 @@ array and the index.
If this expression is an integer literal, return the integer as a field
as well as whether the integer is negative (true) or not (false).

### as_for

#include_code as_for noir_stdlib/src/meta/expr.nr rust

If this expression is a for statement over a single expression, return the identifier,
the expression and the for loop body.

### as_for_range

#include_code as_for noir_stdlib/src/meta/expr.nr rust

If this expression is a for statement over a range, return the identifier,
the range start, the range end and the for loop body.

### as_let

#include_code as_let noir_stdlib/src/meta/expr.nr rust
Expand Down

0 comments on commit df417fd

Please sign in to comment.