PsParser
Overview
PsParser is a class in Aspose.Page FOSS for Python.
Parse PostScript/EPS tokens into language objects.
This class provides 3 methods for working with PsParser objects in Python programs.
Available methods include: __init__, parse_all, parse_object.
All public members are accessible to any Python application after installing the Aspose.Page FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__(tokenizer: PsTokenizer) | |
parse_object() → PsObject | None | Parse a single PostScript object or return None at EOF. |
parse_all() → list[PsObject] | Parse all remaining objects from the token stream. |