Lexical analyzer for PDF content files. Adobe specifies no grammar, but it seems that it
is a simple post-fix notation.
Inheritance Hierarchy
PdfEdit.Pdf.ContentCLexer
Namespace: PdfEdit.Pdf.Content
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
The CLexer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CLexer(Byte) |
Initializes a new instance of the Lexer class.
| |
CLexer(MemoryStream) |
Initializes a new instance of the Lexer class.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveToNonWhiteSpace |
If the current character is not a white space, the function immediately returns it.
Otherwise the PDF cursor is moved forward to the first non-white space or EOF.
White spaces are NUL, HT, LF, FF, CR, and SP.
| |
ScanComment |
Scans a comment line. (Not yet used, comments are skipped by lexer.)
| |
ScanDictionary | ||
ScanHexadecimalString | ||
ScanInlineImage |
Scans the bytes of an inline image.
NYI: Just scans over it.
| |
ScanLiteralString | ||
ScanName |
Scans a name.
| |
ScanNextToken |
Reads the next token and returns its type.
| |
ScanNumber |
Scans an integer or real number.
| |
ScanOperator |
Scans an operator.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ContLength |
Gets the length of the content.
| |
Position | ||
Symbol |
Gets or sets the current symbol.
| |
Token |
Gets the current token.
|
See Also