Results of 1 - 10 of about 32 for grammar (0.007 sec.)
- 2. 字句解析 — Python 3.14.8 ドキュメント 12678
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
...r> name_continue : name_start | "0" ... "9" identifier : < NAME , except keywords> Note that not all names matched by this grammar are valid; see Non-ASCII characters in names for details. 2.3.1. キーワード (keyword) ¶ The following names are used as re...ecific contexts, but this distinction is done at the parser level, not when tokenizing. As soft keywords, their use in the grammar is possible while still preserving compatibility with existing code that uses these names as identifier names. バージョン...cters in names ¶ Names that contain non-ASCII characters need additional normalization and validation beyond the rules and grammar explained above . For example, ř_1 , 蛇 , or साँप are valid names, but r〰2 , € , or ? are not. This section explains... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 12678
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
...r> name_continue : name_start | "0" ... "9" identifier : < NAME , except keywords> Note that not all names matched by this grammar are valid; see Non-ASCII characters in names for details. 2.3.1. キーワード (keyword) ¶ The following names are used as re...ecific contexts, but this distinction is done at the parser level, not when tokenizing. As soft keywords, their use in the grammar is possible while still preserving compatibility with existing code that uses these names as identifier names. バージョン...cters in names ¶ Names that contain non-ASCII characters need additional normalization and validation beyond the rules and grammar explained above . For example, ř_1 , 蛇 , or साँप are valid names, but r〰2 , € , or ? are not. This section explains... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 10503
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...めの文法定義から直接導かれたものです ( Grammar/python.gram を参照のこと)。ここに示すのは、コード生成およびエラー処理に関係する部分を省略したバージョンです。 The notation...de parentheses, brackets, lookaheads and similar. Their behavior in these contexts is deliberately left unspecified. # PEG grammar for Python # ========================= START OF THE GRAMMAR ========================= # General grammatical elements and r...) denote SOFT KEYWORDS # * Strings with single quotes (') denote KEYWORDS # * Upper case names (NAME) denote tokens in the Grammar/Tokens file # * Rule names starting with "invalid_" are used for specialized syntax errors # - These rules are NOT used in... - https://man.mtool.work/python/3.14/reference/grammar.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 10503
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...めの文法定義から直接導かれたものです ( Grammar/python.gram を参照のこと)。ここに示すのは、コード生成およびエラー処理に関係する部分を省略したバージョンです。 The notation...de parentheses, brackets, lookaheads and similar. Their behavior in these contexts is deliberately left unspecified. # PEG grammar for Python # ========================= START OF THE GRAMMAR ========================= # General grammatical elements and r...) denote SOFT KEYWORDS # * Strings with single quotes (') denote KEYWORDS # * Upper case names (NAME) denote tokens in the Grammar/Tokens file # * Rule names starting with "invalid_" are used for specialized syntax errors # - These rules are NOT used in... - https://man.mtool.work/python/3.14/reference/grammar.html
- Python言語サービス — Python 3.14.8 ドキュメント 9408
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス テーマ 自動 ライト ダーク | Python言語サービス ¶ PythonにはPython言語を使って作業するときに役に立つモジュールがた
...まざまな機能をサポートしています。 これらのモジュールには、次のものが含まれています: ast --- Abstract syntax trees Abstract grammar Node クラス Root nodes リテラル 変数 式 (expression) 配列要素の参照 (Subscripting) 内包表記 (Comprehension) 文 (Statements...言語 サポート Abstract Type コンパイル 命令 サービス 作業 提供 トークン 切り出し パース 構文 ディス アセンブリ syntax trees grammar Node Root nodes 前のトピックへ sys.path モジュール検索パスの初期化 次のトピックへ ast --- Abstract syntax trees This page... - https://man.mtool.work/python/3.14/library/language.html
- 1. はじめに — Python 3.14.8 ドキュメント 8973
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 1. はじめに テーマ 自動 ライト ダーク | 1. はじめに ¶ このリファレンスマニュアルは、Python プログラミング言語自体に関する記述です。チュ
...、各実装の仕様書を参照してください。 1.2. 本マニュアルにおける表記法 ¶ The descriptions of lexical analysis and syntax use a grammar notation that is a mixture of EBNF and PEG . For example: name : letter ( letter | digit | "_" )* letter : "a" ... "z" | ".... Where possible, it is a link to the rule's definition. TOKEN : An uppercase name refers to a token . For the purposes of grammar definitions, tokens are the same as rules. "text" , 'text' : Text in single or double quotes must match literally (without...used to separate alternatives. It denotes PEG's "ordered choice": if e1 matches, e2 is not considered. In traditional PEG grammars, this is written as a slash, / , rather than a vertical bar. See PEP 617 for more background and details. e* : A star mea... - https://man.mtool.work/python/3.14/reference/introduction.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8973
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...t.py The ast module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the...current grammar looks like. 抽象構文木を作成するには、 ast.PyCF_ONLY_AST を組み込み関数 compile() のフラグとして渡すか、あるいはこのモジュ...となります。抽象構文木は組み込み関数 compile() を使って Python コード・オブジェクトにコンパイルすることができます。 Abstract grammar ¶ 抽象文法は、現在次のように定義されています: -- ASDL's 4 builtin types are: -- identifier, int, string, constant module P... - https://man.mtool.work/python/3.14/library/ast.html
- 1. はじめに — Python 3.14.8 ドキュメント 8973
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 1. はじめに テーマ 自動 ライト ダーク | 1. はじめに ¶ このリファレンスマニュアルは、Python プログラミング言語自体に関する記述です。チュ
...、各実装の仕様書を参照してください。 1.2. 本マニュアルにおける表記法 ¶ The descriptions of lexical analysis and syntax use a grammar notation that is a mixture of EBNF and PEG . For example: name : letter ( letter | digit | "_" )* letter : "a" ... "z" | ".... Where possible, it is a link to the rule's definition. TOKEN : An uppercase name refers to a token . For the purposes of grammar definitions, tokens are the same as rules. "text" , 'text' : Text in single or double quotes must match literally (without...used to separate alternatives. It denotes PEG's "ordered choice": if e1 matches, e2 is not considered. In traditional PEG grammars, this is written as a slash, / , rather than a vertical bar. See PEP 617 for more background and details. e* : A star mea... - https://man.mtool.work/python/3.14/reference/introduction.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8538
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...t.py The ast module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the...current grammar looks like. 抽象構文木を作成するには、 ast.PyCF_ONLY_AST を組み込み関数 compile() のフラグとして渡すか、あるいはこのモジュ...となります。抽象構文木は組み込み関数 compile() を使って Python コード・オブジェクトにコンパイルすることができます。 Abstract grammar ¶ 抽象文法は、現在次のように定義されています: -- ASDL's 4 builtin types are: -- identifier, int, string, constant module P... - https://man.mtool.work/python/3.14/library/ast.html
- token --- Python 解析木で使われる定数 — Python 3.14.8 ドキュメント 8312
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » token --- Python 解析木で使われる定数 テーマ 自動 ライト ダーク | token --- Python 解析木で使われる定数 ¶ ソー
...を表す定数を提供します。言語の文法のコンテキストにおける名前の定義については、 Python ディストリビューションのファイル file: Grammar/Tokens を参照してください。名前がマップする特定の数値は Python のバージョン間で変わります。 このモジュールは、数値コードか...closing quote(s). Added in version 3.14. token. ENDMARKER ¶ Token value that indicates the end of input. Used in top-level grammar rules . token. ENCODING ¶ ソースの bytes をテキストにデコードするために使われるエンコーディングを示すトークン値。 tokenize... - https://man.mtool.work/python/3.14/library/token.html