class TokenProcessor:
Known subclasses: sphinx.pycode.parser.AfterCommentParser
, sphinx.pycode.parser.DefinitionFinder
Undocumented
Method | __init__ |
Undocumented |
Method | fetch_token |
Fetch the next token from source code. |
Method | fetch_until |
Fetch tokens until specified token appeared. |
Method | get_line |
Returns specified line. |
Instance Variable | buffers |
Undocumented |
Instance Variable | current |
Undocumented |
Instance Variable | previous |
Undocumented |
Instance Variable | tokens |
Undocumented |
Fetch tokens until specified token appeared.
Note
This also handles parenthesis well.
Parameters | |
condition:Any | Undocumented |
Returns | |
List[ | Undocumented |