CharacterTranslationException methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 6: | Line 6: | ||
<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">:[[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 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">%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="squareb">[</span><span class="literal">%(CharacterTranslationException)</span><span class="squareb">]</span><span class="literal">:[[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> - | ||
<span class="squareb">[</span><span class="literal" title="Number">BytePosition=</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">BytePosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - |
Revision as of 20:13, 1 November 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