英語版
このページの英語版を見る
dmd.common.charactertables
識別子に関連する文字一覧。
UAX31、C99、C11、および最も制限の少ないもの(すべて)をサポートする。
Authors:
License:
適用範囲 https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/charactertables.d
- enum
IdentifierTable
: int; -
UAX31
C99
C11
LR
- 最も制限の少ない別名 すべて
- struct
IdentifierCharLookup
; -
- bool function(dchar)
isStart
; - bool function(dchar)
isContinue
; - static pure nothrow @nogc @safe IdentifierCharLookup
forTable
(IdentifierTabletable
); - テーブル名を指定してテーブルを検索する
- pure nothrow @nogc @safe bool
isAnyIdentifierCharacter
(dcharc
); - 識別子の範囲や、それが開始/継続であるかどうかが気にならない場合に便利な関数。Returns:tableall文字は、最も制限の少ないもののメンバーである。Examples:
assert(isAnyIdentifierCharacter('ğ'));
- pure nothrow @nogc @safe bool
isAnyStart
(dcharc
); - 識別子の範囲がどうなっているか気にしない場合に便利な関数。Returns: 文字は制限的なメンバーである。StartStart文字は制限的なメンバーである。Examples:識別子の範囲がどうなっているか気にしない場所で使用するための便利な関数
assert(isAnyStart('ğ'));
- pure nothrow @nogc @safe bool
isAnyContinue
(dcharc
); - 識別子の範囲がどうなっているか気にしない場合に便利な関数。Returns: 文字は最も制限の緩いメンバーである。convenience function文字文字は最も制限の緩いメンバーである。Examples:
assert(isAnyContinue('ğ'));
- enum int
LS
; - UTF 行区切り文字
- enum int
PS
; - UTF 段落区切り
- pure nothrow @nogc @safe bool
isoctal
(const charc
); - pure nothrow @nogc @safe bool
ishex
(const charc
); - pure nothrow @nogc @safe bool
isidchar
(const charc
); - pure nothrow @nogc @safe bool
isZeroSecond
(const charc
); - pure nothrow @nogc @safe bool
isDigitSecond
(const charc
); - pure nothrow @nogc @safe bool
issinglechar
(const charc
); - pure nothrow @nogc @safe bool
c_isxdigit
(const intc
); - pure nothrow @nogc @safe bool
c_isalnum
(const intc
);
Copyright © 1999-2024 by the D Language Foundation
DEEPL APIにより翻訳、ところどころ修正。
このページの最新版(英語)
このページの原文(英語)
翻訳時のdmdのバージョン: 2.109.1
ドキュメントのdmdのバージョン: 2.109.1
翻訳日付 :
HTML生成日時:
編集者: dokutoku