CharacterTranslationException methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 2: | Line 2: | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
{{Template:Syntax list header|class=CharacterTranslationException}} | {{Template:Syntax list header|class=CharacterTranslationException}} | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[BytePosition (CharacterTranslationException | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[BytePosition (CharacterTranslationException property)|BytePosition]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[CharacterPosition (CharacterTranslationException | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[CharacterPosition (CharacterTranslationException property)|CharacterPosition]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[Description (CharacterTranslationException | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[Description (CharacterTranslationException property)|Description]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[HexValue (CharacterTranslationException | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[HexValue (CharacterTranslationException property)|HexValue]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%characterTranslationException</span><span class="literal"> =</span> <span class="literal">%(CharacterTranslationException):[[New (CharacterTranslationException constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="TranslationExceptionReason">Reason=</span> <span class="term" title="TranslationExceptionReason">translationExceptionReason</span><span class="comma">,</span> - | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%characterTranslationException</span><span class="literal"> =</span> <span class="literal">%(CharacterTranslationException):[[New (CharacterTranslationException constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="TranslationExceptionReason">Reason=</span> <span class="term" title="TranslationExceptionReason">translationExceptionReason</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="String">HexValue=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal" title="String">HexValue=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
Line 11: | Line 11: | ||
<span class="squareb">[</span><span class="literal" title="Number">CharacterPosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal" title="Number">CharacterPosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p> | <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%translationExceptionReason</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[Reason (CharacterTranslationException | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%translationExceptionReason</span><span class="literal"> =</span> <span class="term">characterTranslationException</span><span class="literal">:[[Reason (CharacterTranslationException property)|Reason]]</span></p> |
Revision as of 20:18, 25 March 2011
The syntax for each of the CharacterTranslationException class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of CharacterTranslationException methods.
%number = characterTranslationException:BytePosition
%number = characterTranslationException:CharacterPosition
%string = characterTranslationException:Description
%string = characterTranslationException:HexValue
%characterTranslationException = %(CharacterTranslationException):New( Reason= translationExceptionReason, - [HexValue= string], - [BytePosition= number], - [CharacterPosition= number], - [Description= string])
%translationExceptionReason = characterTranslationException:Reason