The listing below shows those operators that can be used in Stream Parsing. Note that whilst most are for use with Strings, a few are specially for use only with strings containing either JSON or XML data (in whole or part).
List of such operators:
- fail()
- JSON.each([pathStr]){actions}
- JSON.json[itemNum]
- JSON.json[keyStr]
- String.captureJson()
- String.captureLine([targetAttributeStr])
- String.captureNumber([targetAttributeStr])
- String.captureRest([targetAttributeStr])
- String.captureTo(matchStr[, targetAttributeStr])
- String.captureToken([targetAttributeStr])
- String.captureWord([targetAttributeStr])
- String.eachLine(loopVar[:condition]){actions}
- String.expect(matchStr)
- String.expectNumber()
- String.expectWhitespace()
- String.expectWord()
- String.failed()
- String.skip(charsNum)
- String.skipLine()
- String.skipTo(matchStr)
- String.skipToNumber()
- String.skipWhitespace()
- String.try{actions}[.thenTry{actions}]
- XML.each(pathStr){action}
- XML.xml(pathStr)