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.1.1.0 (5.1.1.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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a String that represents the current Object.
(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