CLexer ClassTerminal Works - PDF Printing.Net Library
Lexical analyzer for PDF content files. Adobe specifies no grammar, but it seems that it is a simple post-fix notation.
Inheritance Hierarchy

SystemObject
  PdfEdit.Pdf.ContentCLexer

Namespace: PdfEdit.Pdf.Content
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.4.3.0 (5.4.3.0)
Syntax

public class CLexer

The CLexer type exposes the following members.

Constructors

  NameDescription
Public methodCLexer(Byte)
Initializes a new instance of the Lexer class.
Public methodCLexer(MemoryStream)
Initializes a new instance of the Lexer class.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMoveToNonWhiteSpace
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.
Public methodScanComment
Scans a comment line. (Not yet used, comments are skipped by lexer.)
Protected methodScanDictionary
Public methodScanHexadecimalString
Public methodScanInlineImage
Scans the bytes of an inline image. NYI: Just scans over it.
Public methodScanLiteralString
Public methodScanName
Scans a name.
Public methodScanNextToken
Reads the next token and returns its type.
Public methodScanNumber
Scans an integer or real number.
Public methodScanOperator
Scans an operator.
Public methodToString (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyContLength
Gets the length of the content.
Public propertyPosition
Public propertySymbol
Gets or sets the current symbol.
Public propertyToken
Gets the current token.
Top
See Also

Reference