Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 25 of 34) sorted by relevance

12

/wasmtime-44.0.1/tests/all/
H A Dfuel.rs3 use wast::parser::{self, Parse, ParseBuffer, Parser};
15 fn parse(parser: Parser<'a>) -> parser::Result<Self> { in parse()
17 while !parser.is_empty() { in parse()
18 assertions.push(parser.parens(|p| { in parse()
33 let mut wast = parser::parse::<FuelWast<'_>>(&buf)?; in run()
/wasmtime-44.0.1/cranelift/isle/isle/tests/
H A Drun_tests.rs9 use cranelift_isle::parser;
90 let original = parser::parse_without_pos(lexer).unwrap(); in run_print()
101 let round_trip = parser::parse_without_pos(lexer).unwrap(); in run_print()
/wasmtime-44.0.1/cranelift/reader/src/
H A Dparser.rs38 $parser.consume();
54 $parser.error(&format!(
79 err!($parser.loc, $err_msg)
127 let mut parser = Parser::new(text); in parse_test() localVariable
130 parser.start_gathering_comments(); in parse_test()
139 parser.parse_test_commands(); in parse_test()
161 parser.token(); in parse_test()
189 match parser.token() { in parse_run_command()
3422 let mut parser = Parser::new( in user_function_name() localVariable
3431 let mut parser = Parser::new( in user_function_name() localVariable
[all …]
H A Dlib.rs10 pub use crate::parser::{ParseOptions, parse_functions, parse_run_command, parse_test};
19 mod parser; module
/wasmtime-44.0.1/crates/environ/src/component/
H A Dtranslate.rs37 parser: Parser, field
134 parser: Parser, field
445 let mut parser = Parser::new(0); in new() localVariable
446 parser.set_features(*validator.features()); in new()
452 parser, in new()
703 parser, in translate_payload()
710 self.parser = parser; in translate_payload()
1196 parser, in translate_payload()
1209 parser, in translate_payload()
1243 parser, in translate_payload()
[all …]
/wasmtime-44.0.1/crates/wizer/
H A D.gitmodules3 url = https://github.com/ua-parser/uap-core.git
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dlib.rs30 pub mod parser; module
H A Dcompile.rs60 match crate::parser::parse(lexer) { in from_files()
91 match crate::parser::parse(lexer) { in create_envs()
H A Dparser.rs11 let parser = Parser::new(lexer); in parse() localVariable
12 parser.parse_defs() in parse()
18 let parser = Parser::new_without_pos_tracking(lexer); in parse_without_pos() localVariable
19 parser.parse_defs() in parse_without_pos()
/wasmtime-44.0.1/crates/wizer/src/component/
H A Dparse.rs24 let parser = Parser::new(0).parse_all(full_wasm); in parse() localVariable
25 parse_into(Some(&mut component), full_wasm, parser)?; in parse()
/wasmtime-44.0.1/crates/wasmtime/src/compile/code_builder/
H A Dcompile_time_builtins.rs71 let parser = wasmparser::Parser::new(0); in check_imports_for_compile_time_builtins() localVariable
74 for payload in parser.parse_all(main_wasm) { in check_imports_for_compile_time_builtins()
/wasmtime-44.0.1/cranelift/isle/fuzz/fuzz_targets/
H A Dcompile.rs18 let defs = cranelift_isle::parser::parse(lexer);
/wasmtime-44.0.1/crates/wit-bindgen/
H A DCargo.toml18 wit-parser = { workspace = true }
/wasmtime-44.0.1/crates/cranelift/src/debug/transform/
H A Dmod.rs104 let parser = wasmparser::Parser::new(0); in read_dwarf_package_from_bytes() localVariable
112 .translate(parser, dwp_bytes) in read_dwarf_package_from_bytes()
/wasmtime-44.0.1/crates/component-macro/
H A DCargo.toml29 wit-parser = { workspace = true }
/wasmtime-44.0.1/pulley/macros/src/
H A Dinterp_disable_if_cfg.rs12 let config_parser = syn::meta::parser(|meta| { in run()
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/
H A DCargo.lock399 "wit-parser",
458 "wit-parser",
462 name = "wit-parser"
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs76 let mut parser = wasmparser::Parser::new(0); in build_module_artifacts() localVariable
78 parser.set_features(*validator.features()); in build_module_artifacts()
86 .translate(parser, wasm) in build_module_artifacts()
/wasmtime-44.0.1/crates/test-macros/src/
H A Dwasmtime_test.rs193 let config_parser = syn::meta::parser(|meta| { in run()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/unix/
H A Dpagemap.rs386 bitflags::parser::to_writer(self, f) in fmt()
392 bitflags::parser::to_writer(self, f) in fmt()
/wasmtime-44.0.1/crates/component-macro/src/
H A Dcomponent.rs75 let name_literal = attribute.parse_args_with(|parser: ParseStream<'_>| { in find_rename()
76 parser.parse::<kw::name>()?; in find_rename()
77 parser.parse::<Token![=]>()?; in find_rename()
78 parser.parse::<syn::LitStr>() in find_rename()
/wasmtime-44.0.1/cranelift/isle/
H A DREADME.md490 parser is a simple, hand-written, recursive-descent parser.
495 * `isle/src/parser.rs`
/wasmtime-44.0.1/crates/wast/src/
H A Dwast.rs13 use wast::parser::{self, ParseBuffer};
561 let ast = parser::parse::<wast::Wast>(&buf).map_err(adjust_wast)?; in run_wast()
/wasmtime-44.0.1/docs/js/
H A Dmermaid.min.11.6.0.js268parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:r}},"handler"),htmlBuilder:G7,mathmlBuil…
425 ${this.parser.parse(e)}</blockquote>
426 `}html({text:e}){return e}heading({tokens:e,depth:r}){return`<h${r}>${this.parser.parseInline(e)}</…
431 …")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
439parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}cod…
803parser.Lexer;let r=this.lexer.definition,n=e.LanguageMetaData.mode==="production";this.wrapper=new…
814parser:{TokenBuilder:Lt(()=>new JFe,"TokenBuilder"),ValueConverter:Lt(()=>new Wu,"ValueConverter")…
882 …},D=function(){var L={EOF:1,parseError:o(function(O,M){if(this.yy.parser)this.yy.parser.parseError…
1137 …diagram:()=>Qze});var Qze,Kue=N(()=>{"use strict";Hue();que();Xue();Qze={parser:Uue,db:Wue,rendere…
2244 …},T=function(){var A={EOF:1,parseError:o(function(_,I){if(this.yy.parser)this.yy.parser.parseError…
[all …]
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_environ.rs233 parser: Parser, in translate()
238 for payload in parser.parse_all(data) { in translate()

12