Home
last modified time | relevance | path

Searched refs:combinator (Results 1 – 25 of 50) sorted by relevance

12

/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/
Dconstructors.js4 …orts.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.classN…
26 var combinator = function combinator(opts) { function
29 exports.combinator = combinator;
/third_party/rust/crates/nom/doc/
Dnom_recipes.md31 combinator::value,
36 /// A combinator that takes a parser `inner` and produces a parser that also consumes both leading …
66 combinator::value,
90 combinator::value,
119 combinator::recognize,
136 recognize `h`. The `pair` combinator ensures that `ello_world123abc` will be piped to the next
137 `alphanumeric0` parser, which recognizes every remaining character. However, the `pair` combinator
170 combinator::recognize,
195 combinator::{map_res, recognize},
223 combinator::recognize,
[all …]
Dchoosing_a_combinator.md11 | combinator | usage | input | output | comment |
27 | combinator | usage | input | output | comment |
34 | combinator | usage | input | output | comment |
45 | combinator | usage | input | output | comment |
73 - [`eof`](https://docs.rs/nom/latest/nom/combinator/fn.eof.html): Returns its input if it is at the…
74 - [`complete`](https://docs.rs/nom/latest/nom/combinator/fn.complete.html): Replaces an `Incomplete…
78 - [`cond`](https://docs.rs/nom/latest/nom/combinator/fn.cond.html): Conditional combinator. Wraps a…
80 - [`flat_map`](https://docs.rs/nom/latest/nom/combinator/fn.flat_map.html): function variant of `Pa…
82 - [`map`](https://docs.rs/nom/latest/nom/combinator/fn.map.html): function variant of `Parser::map`
83 - [`map_opt`](https://docs.rs/nom/latest/nom/combinator/fn.map_opt.html): Maps a function returning…
[all …]
Dupgrading_to_nom_5.md119 a combinator, if you need to import new traits, etc.
130 A function combinator will then have this signature:
133 Here is an example with a simplified `take` combinator:
171 This combinator is generic over its parser arguments and can assemble them in
Derror_management.md27 - `Error` is a normal parser error. If a child parser of the `alt` combinator returns `Error`, it w…
28combinator will not try other branches if a child parser returns `Failure`. If we know we were in …
87 combinator), and the input position of the error.
147 It can be used along with the `nom::error::context` combinator to inform about
280 combinator used by `VerboseError<I>`:
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/
DtokenTypes.js4 …xports.dollar = exports.cr = exports.comment = exports.comma = exports.combinator = exports.colon …
69 var combinator = -3; variable
70 exports.combinator = combinator;
Dparser.js229 case tokens.combinator:
480 _proto.combinator = function combinator() { function
515 } else if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.combinator) {
743 this.combinator();
896 case tokens.combinator:
897 this.combinator();
/third_party/rust/crates/nom/
DCHANGELOG.md122 - `take_until1` combinator
143 - infinite loop in `escaped` combinator
316 to convert to a more usable type, the `into` combinator can convert the error type
318 `ContextError` for the `context` combinator, and `FromExternalError` for `map_res`.
336 - the `context` combinator is not linked to `ParseError` anymore, instead it come with its own `Con…
338 …sers can be something else than a function. This trait also comes with combinator methods like `ma…
344 … `FromExternalError` allows wrapping the error returned by the function in the `map_res` combinator
355 - `eof` function combinator
357 - `length_count` function combinator
481 - the verify combinator's condition function now takes its argument by reference
[all …]
/third_party/rust/crates/nom/tests/
Dissues.rs26 combinator::{complete, map, opt},
112 use nom::combinator::complete;
235 use nom::{bytes::complete::tag, combinator::map, error::Error, multi::count}; in issue_1617_count_parser_returning_zero_size()
Dreborrow_fold.rs8 use nom::combinator::{map, map_res};
Dcss.rs2 use nom::combinator::map_res;
Dfloat.rs4 use nom::combinator::{map, map_res, opt, recognize};
Dcustom_errors.rs5 use nom::combinator::verify;
Darithmetic.rs6 combinator::map_res,
/third_party/css-what/
Dreadme.md52 | `column-combinator` | - | `\|\|` | `{ type: 'column-
/third_party/node/deps/npm/node_modules/postcss-selector-parser/
DAPI.md71 ### `parser.combinator([props])`
73 Creates a new selector combinator.
76 parser.combinator({value: '+'});
93 original value for the combinator name is stored in `node.raws.value`.
218 `attribute`, `class`, `combinator`, `comment`, `id`, `nesting`, `pseudo`,
252 if (next && next.type !== 'combinator') {
509 return selector.type === 'combinator';
/third_party/rust/crates/nom/examples/
Diterator.rs6 use nom::combinator::iterator;
/third_party/rust/crates/nom/benchmarks/benches/
Darithmetic.rs11 combinator::map_res,
Dini.rs11 combinator::{map, map_res, opt},
Dini_str.rs9 combinator::opt,
/third_party/rust/crates/nom/src/
Dlib.rs447 pub mod combinator; module
/third_party/rust/crates/rust-cexpr/src/
Dliteral.rs46 use nom::combinator::{complete, map, map_opt, opt, recognize};
288 nom::combinator::complete(byte!(b'f' | b'l' | b'F' | b'L'))(i) in float_width()
/third_party/rust/crates/nom/doc/archive/
Dhow_nom_macros_work.md90 to the first, top level combinator:
163 match on the result. Every combinator or parser must return a `IResult`, which
/third_party/rust/crates/nom/fuzz/fuzz_targets/
Dfuzz_arithmetic.rs12 combinator::{map, map_res, verify},
/third_party/rust/crates/nom/src/bytes/
Dtests.rs12 combinator::{map, value},
299 use crate::combinator::recognize;
550 use crate::combinator::recognize;

12