InvalidRegex methods syntax: Difference between revisions
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=InvalidRegex}} | {{Template:Syntax list header|class=InvalidRegex}} | ||
<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">invalidRegex</span><span class="literal">:[[Code (InvalidRegex | <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">invalidRegex</span><span class="literal">:[[Code (InvalidRegex property)|Code]]</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">invalidRegex</span><span class="literal">:[[Description (InvalidRegex | <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">invalidRegex</span><span class="literal">:[[Description (InvalidRegex 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">%invalidRegex</span><span class="literal"> =</span> <span class="literal">%(InvalidRegex):[[New (InvalidRegex constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="Number">Position=</span> <span class="term" title="Number">number</span><span class="comma">,</span> <span class="literal" title="Number">Code=</span> <span class="term" title="Number">number</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">%invalidRegex</span><span class="literal"> =</span> <span class="literal">%(InvalidRegex):[[New (InvalidRegex constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="Number">Position=</span> <span class="term" title="Number">number</span><span class="comma">,</span> <span class="literal" title="Number">Code=</span> <span class="term" title="Number">number</span><span class="comma">,</span> - | ||
<span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | <span class="literal" title="String">Description=</span> <span class="term" title="String">string</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">%number</span><span class="literal"> =</span> <span class="term">invalidRegex</span><span class="literal">:[[Position (InvalidRegex | <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">invalidRegex</span><span class="literal">:[[Position (InvalidRegex property)|Position]]</span></p> |
Revision as of 20:19, 25 March 2011
The syntax for each of the InvalidRegex 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 InvalidRegex methods.
%number = invalidRegex:Code
%string = invalidRegex:Description
%invalidRegex = %(InvalidRegex):New( Position= number, Code= number, - Description= string)
%number = invalidRegex:Position