XmlParseError methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
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=XmlParseError}}
{{Template:Syntax list header|class=XmlParseError}}
<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">xmlParseError</span><span class="literal">:[[CharacterPosition (XmlParseError function)|CharacterPosition]]</span></p>
<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">xmlParseError</span><span class="literal">:[[CharacterPosition (XmlParseError 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">xmlParseError</span><span class="literal">:[[Description (XmlParseError function)|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">xmlParseError</span><span class="literal">:[[Description (XmlParseError 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">xmlParseError</span><span class="literal">:[[InputHexValue (XmlParseError function)|InputHexValue]]</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">xmlParseError</span><span class="literal">:[[InputHexValue (XmlParseError property)|InputHexValue]]</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">%xmlParseError</span><span class="literal"> =</span> <span class="literal">%(XmlParseError):[[New (XmlParseError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="XmlParseErrorReason">Reason=</span> <span class="term" title="XmlParseErrorReason">xmlParseErrorReason</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">%xmlParseError</span><span class="literal"> =</span> <span class="literal">%(XmlParseError):[[New (XmlParseError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="XmlParseErrorReason">Reason=</span> <span class="term" title="XmlParseErrorReason">xmlParseErrorReason</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="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="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="comma">,</span>                  -
                                       <span class="squareb">[</span><span class="literal" title="String">InputHexValue=</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">InputHexValue=</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">%xmlParseErrorReason</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[Reason (XmlParseError function)|Reason]]</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">%xmlParseErrorReason</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[Reason (XmlParseError property)|Reason]]</span></p>

Revision as of 20:19, 25 March 2011

The syntax for each of the XmlParseError 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 XmlParseError methods.

%number = xmlParseError:CharacterPosition

%string = xmlParseError:Description

%string = xmlParseError:InputHexValue

%xmlParseError = %(XmlParseError):New( Reason= xmlParseErrorReason, - [CharacterPosition= number], - [Description= string], - [InputHexValue= string])

%xmlParseErrorReason = xmlParseError:Reason