fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

nom

nom

nom:Any is[Unit Type][src]
nom is a parser combinator framework
for more information go to:
https://github.com/Geal/nom/

Constructors

Parser(I:Any,R:Any,O:Any) ref:Unary nom.this.parse_result R O, I is[Contains abstract features][src]
wrapper for the parsing function parse

parse takes an input of type I
and returns either an error
or a result of type O and a rest of type R
parsers: is[src]
nom.parsers -- namespace for parser combinators and parsers built with nom
success(R:Any,O:Any,rest R,out O):Any is[src]
the result of parsing, if successful

rest = the rest of the input that was not consumed by the parser
out = the result of parsing, e.g. a concrete syntax tree

Functions

parser(I:Any,R:Any,O:Any,f Unary (nom.this.parse_result R O) I) => nom.this.Parser I R O[src]
short hand for creating a Parser via
given function `f`.

Choice Types

parse_result(I:Any,O:Any):outcome nom.this.success I O[Contains abstract features][src]
the result of Parser.call()
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23