Parser Properties |
[This is preliminary documentation and is subject to change.]
The Parser type exposes the following members.
Name | Description | |
---|---|---|
AutoIncrement |
Default is FALSE. If TRUE parser automatically advances to next token after DblValue, IntValue, or StrValue. Simpler when you don't need to check for parameter names.
| |
BeginQuote |
Get/Set String containing the the characters for Quoting in OpenDSS scripts. Matching pairs defined in EndQuote. Default is "'([{.
| |
CmdString |
String to be parsed. Loading this string resets the Parser to the beginning of the line. Then parse off the tokens in sequence.
| |
DblValue |
Return next parameter as a double.
| |
Delimiters |
String defining hard delimiters used to separate token on the command string. Default is , and =. The = separates token name from token value. These override whitesspace to separate tokens.
| |
EndQuote |
String containing characters, in order, that match the beginning quote characters in BeginQuote. Default is "')]}
| |
IntValue |
Return next parameter as a long integer.
| |
NextParam |
Get next token and return tag name (before = sign) if any. See AutoIncrement.
| |
StrValue |
Return next parameter as a string
| |
WhiteSpace |
(read) Get the characters used for White space in the command string. Default is blank and Tab.
(write) Set the characters used for White space in the command string. Default is blank and Tab.
|