Home
last modified time | relevance | path

Searched +full:github +full:- +full:token (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/third_party/jinja2/.github/workflows/
Dpublish.yaml5 - '*'
8 runs-on: ubuntu-latest
12 - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
13 - uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912
15 python-version: '3.x'
17 cache-dependency-path: 'requirements/*.txt'
18 - run: pip install -r requirements/build.txt
20 - run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
21 - run: python -m build
23 - name: generate hash
[all …]
/third_party/python/
D.gitattributes25 [attr]noeol -text
48 # https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
49 # https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
58 # https://github.com/github/linguist/blob/master/docs/overrides.md
63 [attr]generated linguist-generated=true diff=generated
68 Doc/library/token-list.inc generated
73 Include/token.h generated
76 Lib/token.py generated
80 Parser/token.c generated
82 Python/Python-ast.c generated
/third_party/rust/crates/syn/
DREADME.md4 …t="github" src="https://img.shields.io/badge/github-dtolnay/syn-8da0cb?style=for-the-badge&labelCo…
5 [<img alt="crates.io" src="https://img.shields.io/crates/v/syn.svg?style=for-the-badge&color=fc8d62…
6 [<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-syn-66c2a5?style=for-the-badge&labelC…
7 …ps://img.shields.io/github/actions/workflow/status/dtolnay/syn/ci.yml?branch=master&style=for-the-
15 - **Data structures** — Syn provides a complete syntax tree that can represent
21 - **Derives** — Of particular interest to derive macros is [`syn::DeriveInput`]
24 user-defined trait.
26 - **Parsing** — Parsing in Syn is built around [parser functions] with the
27 signature `fn(ParseStream) -> Result<T>`. Every syntax tree node defined by
32 - **Location information** — Every token parsed by Syn is associated with a
[all …]
/third_party/littlefs/.github/workflows/
Dstatus.yml9 runs-on: ubuntu-18.04
12 - uses: dawidd6/action-download-artifact@v2
13 continue-on-error: true
15 workflow: ${{github.event.workflow_run.name}}
16 run_id: ${{github.event.workflow_run.id}}
19 - name: update-status
20 continue-on-error: true
23 for s in $(shopt -s nullglob ; echo status/*.json)
26 export STATE="$(jq -er '.state' $s)"
27 export CONTEXT="$(jq -er '.context' $s)"
[all …]
Drelease.yml10 runs-on: ubuntu-18.04
13 # - tests passed?
14 # - we are the most recent commit on master?
15 if: ${{github.event.workflow_run.conclusion == 'success' &&
16 github.event.workflow_run.head_sha == github.sha}}
19 - uses: actions/checkout@v2
21 ref: ${{github.event.workflow_run.head_sha}}
24 token: ${{secrets.BOT_TOKEN}}
26 fetch-depth: 0
29 - uses: dawidd6/action-download-artifact@v2
[all …]
/third_party/pcre2/pcre2/.github/workflows/
Dscorecards.yml1 name: Scorecards supply-chain security
6 - cron: '23 17 * * 1'
11 permissions: read-all
16 runs-on: ubuntu-latest
18 # Needed to upload the results to code-scanning dashboard.
19 security-events: write
24 - name: "Checkout code"
27 persist-credentials: false
29 - name: "Run analysis"
30 uses: ossf/scorecard-action@3e15ea8318eee9b333819ec77a36aca8d39df13e # tag=v1.1.1
[all …]
/third_party/rust/crates/cxx/gen/lib/src/
Dlib.rs4 //! higher-level code generators. See [dtolnay/cxx#235] and
5 //! [https://github.com/google/autocxx].
7 //! [dtolnay/cxx#235]: https://github.com/dtolnay/cxx/issues/235
8 //! [https://github.com/google/autocxx]: https://github.com/google/autocxx
10 #![doc(html_root_url = "https://docs.rs/cxx-gen/0.7.97")]
39 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
53 /// Generate C++ bindings code from a Rust token stream. This should be a Rust
54 /// token stream which somewhere contains a `#[cxx::bridge] mod {}`.
55 pub fn generate_header_and_cc(rust_source: TokenStream, opt: &Opt) -> Result<GeneratedCode, Error> { in generate_header_and_cc()
/third_party/rust/crates/syn/tests/
Dtest_expr.rs9 use syn::{parse_quote, token, Expr, ExprRange, ExprTuple, Stmt, Token};
103 // mimics the token stream corresponding to `$fn()` in test_macro_variable_func()
169 // mimics the token stream corresponding to `$macro!()` in test_macro_variable_macro()
192 // mimics the token stream corresponding to `$struct {}` in test_macro_variable_struct()
211 // mimics the token stream corresponding to `$expr.method()` where expr is `&self` in test_macro_variable_unary()
236 // mimics the token stream corresponding to `match v { _ => $expr }` in test_macro_variable_match_arm()
309 // https://github.com/dtolnay/syn/issues/1019
312 #[rustfmt::skip] // rustfmt bug: https://github.com/rust-lang/rustfmt/issues/4808 in test_closure_vs_rangefull()
371 // Parentheses required. See https://github.com/rust-lang/rust/pull/87026. in test_ambiguous_label()
394 Token![::], in test_extended_interpolated_path()
[all …]
Dtest_pat.rs10 use syn::{parse_quote, token, Item, Pat, PatTuple, Stmt, Token};
30 // https://github.com/rust-lang/rust/blob/1.43.0/src/test/ui/or-patterns/remove-leading-vert.rs in test_leading_vert()
104 paren_token: token::Paren::default(), in test_tuple_comma()
115 Token![,], in test_tuple_comma()
120 expr.elems.push_punct(<Token![,]>::default()); in test_tuple_comma()
125 Token![,], in test_tuple_comma()
135 Token![,], in test_tuple_comma()
141 expr.elems.push_punct(<Token![,]>::default()); in test_tuple_comma()
146 Token![,], in test_tuple_comma()
148 Token![,], in test_tuple_comma()
/third_party/rust/crates/libc/.github/workflows/
Ddocs.yml1 name: Upload documentation to GitHub Pages
6 - master
8 # Sets permissions of `GITHUB_TOKEN` to allow deployment to GitHub Pages
12 id-token: write
17 name: github-pages
19 runs-on: ubuntu-22.04
21 - name: Checkout
23 - name: Setup Rust toolchain
24 run: TARGET=x86_64-unknown-linux-gnu sh ./ci/install-rust.sh
25 - name: Generate documentation
[all …]
/third_party/typescript/scripts/
Drequest-pr-review.mjs6 string: ["token", "pull", "reviewer", "owner", "repo"],
13 token: process.env.GH_TOKEN,
25 if (!options.token || !options.pull || !options.reviewer || !options.owner || !options.repo) {
27 printHelpAndExit(-1);
33 printHelpAndExit(-2);
41 const gh = new Octokit({ auth: options.token });
61 usage: request-pr-review.js [options]
64 --token <token> Your GitHub auth token. Uses %GH_TOKEN% if present.
65 --owner <owner> The GH user or organization for the repo (default: 'microsoft').
66 --repo <repo> The GH repo for the pull request (default: 'TypeScript').
[all …]
/third_party/rust/crates/proc-macro2/
DCargo.toml.orig2 name = "proc-macro2"
6 categories = ["development-tools::procedural-macro-helpers"]
7 description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-bas…
8 documentation = "https://docs.rs/proc-macro2"
11 license = "MIT OR Apache-2.0"
12 repository = "https://github.com/dtolnay/proc-macro2"
13 rust-version = "1.56"
16 rustc-args = ["--cfg", "procmacro2_semver_exempt"]
17 rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--cfg", "doc_cfg", "--generate-link-to-defini…
18 targets = ["x86_64-unknown-linux-gnu"]
[all …]
/third_party/rust/crates/cxx/.github/workflows/
Dsite.yml6 - master
8 - book/**
9 - .github/workflows/site.yml
15 runs-on: ubuntu-latest
18 timeout-minutes: 30
20 - uses: actions/checkout@v3
22 - name: Get mdBook
25 export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
26 … export MDBOOK_URL="https://github.com/dtolnay/mdBook/releases/download/cxx/${MDBOOK_TARBALL}"
27 curl -Lf "${MDBOOK_URL}" | tar -xzC book
[all …]
/third_party/rust/crates/proc-macro2/src/
Dlib.rs1 //! [![github]](https://github.com/dtolnay/proc-macro2)&ensp;[![crates-io]](https://crates.io/crate…
3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
12 //! [`proc_macro`]: https://doc.rust-lang.org/proc_macro/
14 //! - **Bring proc-macro-like functionality to other contexts like build.rs and
17 //! Meanwhile `proc_macro2` types may exist anywhere including non-macro code.
21 //! reimplementing non-macro equivalents of those libraries.
23 //! - **Make procedural macros unit testable.** As a consequence of being
29 //! [syn]: https://github.com/dtolnay/syn
[all …]
/third_party/openssl/test/
DREADME.md17 -------------
30 Verbosity on failed (sub-)tests only
35 Verbosity on failed (sub-)tests, in addition progress on succeeded (sub-)tests
54 $ make list-tests # Unix
55 $ mms list-tests ! OpenVMS
56 $ nmake list-tests # Windows
61 To report a bug please open an issue on GitHub, at
62 <https://github.com/openssl/openssl/issues>.
68 ----------------------
75 tests (as listed when you do 'make list-tests' or similar).
[all …]
/third_party/rust/crates/cfg-if/.github/workflows/
Dmain.yml7 runs-on: ubuntu-latest
12 - uses: actions/checkout@master
13 - name: Install Rust Stable
18 rustc -vV
19 - name: Run tests
24 runs-on: ubuntu-latest
26 - uses: actions/checkout@master
27 - name: Install Rust Stable
32 - name: Run rustfmt
33 run: cargo fmt -- --check
[all …]
/third_party/rust/crates/nom/doc/
Dcustom_input_types.md7 like [nom_locate](https://github.com/fflorent/nom_locate), a wrapper type
9 [a list of tokens](https://github.com/Rydgel/monkey-rust/blob/master/lib/parser/mod.rs).
14 The goal is to define nom parsers with this signature: `MyInput -> IResult<MyInput, Output>`.
17 fn parser(i: MyInput) -> IResult<MyInput, Output> {
25 |---|---|
34 …cs.rs/nom/latest/nom/trait.InputTakeAtPosition.html) |Look for a specific token and split at its p…
42 |---|---|
43 …cs.rs/nom/latest/nom/trait.AsChar.html) |Transforms common types to a char for basic token parsing|
/third_party/rust/crates/syn/src/
Drestriction.rs11 /// [syntax tree enum]: Expr#syntax-tree-enums
15 Public(Token![pub]),
31 pub pub_token: Token![pub],
32 pub paren_token: token::Paren,
33 pub in_token: Option<Token![in]>,
45 // TODO: https://rust-lang.github.io/rfcs/3323-restrictions.html
50 // pub mut_token: Token![mut],
51 // pub paren_token: token::Paren,
52 // pub in_token: Option<Token![in]>,
67 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Dlib.rs1 //! [![github]](https://github.com/dtolnay/syn)&ensp;[![crates-io]](https://crates.io/crates/syn)&e…
3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
15 //! - **Data structures** — Syn provides a complete syntax tree that can
21 //! - **Derives** — Of particular interest to derive macros is
24 //! derive implementations of a user-defined trait.
26 //! - **Parsing** — Parsing in Syn is built around [parser functions] with the
27 //! signature `fn(ParseStream) -> Result<T>`. Every syntax tree node defined
32 //! - **Location information** — Every token parsed by Syn is associated with a
[all …]
/third_party/libcoap/man/
Dcoap_observe.txt.in1 // -*- mode:doc; -*-
12 ----
18 - Work with CoAP observe
21 --------
36 *-lcoap-@LIBCOAP_API_VERSION@-notls*, *-lcoap-@LIBCOAP_API_VERSION@-gnutls*,
37 *-lcoap-@LIBCOAP_API_VERSION@-openssl*, *-lcoap-@LIBCOAP_API_VERSION@-mbedtls*
38 or *-lcoap-@LIBCOAP_API_VERSION@-tinydtls*. Otherwise, link with
39 *-lcoap-@LIBCOAP_API_VERSION@* to get the default (D)TLS library support.
42 -----------
43 https://rfc-editor.org/rfc/rfc7641[RFC7641] extends the CoAP protocol to be
[all …]
Dcoap_async.txt.in1 // -*- mode:doc; -*-
12 ----
22 - Work with CoAP async support
25 --------
47 *-lcoap-@LIBCOAP_API_VERSION@-notls*, *-lcoap-@LIBCOAP_API_VERSION@-gnutls*,
48 *-lcoap-@LIBCOAP_API_VERSION@-openssl*, *-lcoap-@LIBCOAP_API_VERSION@-mbedtls*
49 or *-lcoap-@LIBCOAP_API_VERSION@-tinydtls*. Otherwise, link with
50 *-lcoap-@LIBCOAP_API_VERSION@* to get the default (D)TLS library support.
53 -----------
55 ("https://rfc-editor.org/rfc/rfc7252#section-5.2.1[RFC7252 5.2.1. Piggybacked]")
[all …]
/third_party/icu/docs/userguide/format_parse/numbers/
Dskeletons.md1 ---
7 ---
8 <!--
11 -->
17 {: .no_toc .text-delta }
22 ---
26 Number skeletons are a locale-agnostic way to configure a `NumberFormatter` in
29 Number skeletons consist of case-sensitive tokens that correspond to settings
33 sign-always compact-short currency/GBP
44 The ICU `toSkeleton()` API outputs the long-form skeletons, but all parts of
[all …]
/third_party/parse5/packages/parse5-sax-parser/lib/
Dindex.ts2 import type { Tokenizer, TokenHandler, Token } from 'parse5';
3 import { DevNullStream } from './dev-null-stream.js';
4 import { ParserFeedbackSimulator } from './parser-feedback-simulator.js';
10 * When enabled, each token will have a `sourceCodeLocation` property.
16 * Streaming [SAX](https://en.wikipedia.org/wiki/Simple_API_for_XML)-style HTML parser.
22 * const SAXParser = require('parse5-sax-parser');
66 // (see: https://github.com/inikulin/parse5/issues/97#issuecomment-171940774)
96 * const SAXParser = require('parse5-sax-parser');
130 onCharacter({ chars, location }: Token.CharacterToken): void {
153 onWhitespaceCharacter(token: Token.CharacterToken): void {
[all …]
/third_party/rust/crates/lazycell/
D.travis.yml3 # necessary for `travis-cargo coveralls --no-sudo`
7 - libcurl4-openssl-dev
8 - libelf-dev
9 - libdw-dev
10 - binutils-dev # optional: only required for the --verify flag of coveralls
13 - nightly
14 - beta
16 - stable
19 - 1.24.0
21 - linux
[all …]
/third_party/python/Tools/peg_generator/pegen/
Dtestutil.py7 import token
19 ALL_TOKENS = token.tok_name
20 EXACT_TOKENS = token.EXACT_TOKEN_TYPES
22 name for index, name in token.tok_name.items() if index not in EXACT_TOKENS.values()
26 def generate_parser(grammar: Grammar) -> Type[Parser]:
38 def run_parser(file: IO[bytes], parser_class: Type[Parser], *, verbose: bool = False) -> Any:
50 ) -> Any:
58 def make_parser(source: str) -> Type[Parser]:
64 def import_file(full_name: str, path: str) -> Any:
78 def generate_c_parser_source(grammar: Grammar) -> str:
[all …]

12345678910>>...12