|
Gaudi Framework, version v25r1 |
| Home | Generated: Mon Mar 24 2014 |


Public Attributes | |
| match | |
| matchLen | |
| firstMatchChar | |
| name | |
| errmsg | |
| mayReturnEmpty | |
| mayIndexError | |
| caseless | |
| caselessmatch | |
| identChars | |
Public Attributes inherited from pyparsing.Token | |
| errmsg | |
Public Attributes inherited from pyparsing.ParserElement | |
| parseAction | |
| failAction | |
| strRepr | |
| resultsName | |
| saveAsList | |
| skipWhitespace | |
| whiteChars | |
| copyDefaultWhiteChars | |
| mayReturnEmpty | |
| keepTabs | |
| ignoreExprs | |
| debug | |
| streamlined | |
| mayIndexError | |
| errmsg | |
| modalResults | |
| debugActions | |
| re | |
| callPreparse | |
| callDuringTry | |
| name | |
| myException | |
Static Public Attributes | |
| string | DEFAULT_KEYWORD_CHARS "_$" |
| tuple | setDefaultKeywordChars staticmethod(setDefaultKeywordChars) |
Token to exactly match a specified string as a keyword, that is, it must be
immediately followed by a non-keyword character. Compare with Literal::
Literal("if") will match the leading 'if' in 'ifAndOnlyIf'.
Keyword("if") will not; it will only match the leading 'if in 'if x=1', or 'if(y==2)'
Accepts two optional constructor arguments in addition to the keyword string:
identChars is a string of characters that would be valid identifier characters,
defaulting to all alphanumerics + "_" and "$"; caseless allows case-insensitive
matching, default is False.
Definition at line 1517 of file pyparsing.py.
| def pyparsing.Keyword.__init__ | ( | self, | |
| matchString, | |||
identChars = DEFAULT_KEYWORD_CHARS, |
|||
caseless = False |
|||
| ) |
Definition at line 1529 of file pyparsing.py.
| def pyparsing.Keyword.copy | ( | self | ) |
Definition at line 1567 of file pyparsing.py.
| def pyparsing.Keyword.parseImpl | ( | self, | |
| instring, | |||
| loc, | |||
doActions = True |
|||
| ) |
Definition at line 1549 of file pyparsing.py.
| def pyparsing.Keyword.setDefaultKeywordChars | ( | chars | ) |
Overrides the default Keyword chars
Definition at line 1572 of file pyparsing.py.
| pyparsing.Keyword.caseless |
Definition at line 1543 of file pyparsing.py.
| pyparsing.Keyword.caselessmatch |
Definition at line 1545 of file pyparsing.py.
|
static |
Definition at line 1527 of file pyparsing.py.
| pyparsing.Keyword.errmsg |
Definition at line 1539 of file pyparsing.py.
| pyparsing.Keyword.firstMatchChar |
Definition at line 1534 of file pyparsing.py.
| pyparsing.Keyword.identChars |
Definition at line 1547 of file pyparsing.py.
| pyparsing.Keyword.match |
Definition at line 1531 of file pyparsing.py.
| pyparsing.Keyword.matchLen |
Definition at line 1532 of file pyparsing.py.
| pyparsing.Keyword.mayIndexError |
Definition at line 1542 of file pyparsing.py.
| pyparsing.Keyword.mayReturnEmpty |
Definition at line 1540 of file pyparsing.py.
| pyparsing.Keyword.name |
Definition at line 1538 of file pyparsing.py.
|
static |
Definition at line 1576 of file pyparsing.py.