英語版
このページの英語版を見る

dmd.entity

文字列/文字リテラルの"˶&entity;"エスケープシーケンスをサポートする名前付き文字エンティティを定義する。
Authors:

ソース entity.d

pure nothrow @nogc @safe uint[2] HtmlNamedEntity(scope const char[] name);
以下はその例である。 nameが HTML 名前付きエンティティかどうかを見る
Parameters:
char[] name エンティティの名前
Returns:
名前付きエンティティに対応するコードポイント 名前付きエンティティとして認識されない場合は ~0