Lexer MethodsTerminal Works - PDF Printing.Net Library

The Lexer type exposes the following members.

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 methodReadRawString
Reads a string in raw encoding.
Public methodReadStream
Reads the raw content of a stream.
Public methodScanComment
Scans a comment line.
Public methodScanHexadecimalString
Public methodScanKeyword
Scans a keyword.
Public methodScanLiteralString
Scans a literal string, contained between "(" and ")".
Public methodScanName
Scans a name.
Public methodScanNextToken
Reads the next token and returns its type. If the token starts with a digit, the parameter testReference specifies how to treat it. If it is false, the lexer scans for a single integer. If it is true, the lexer checks if the digit is the prefix of a reference. If it is a reference, the token is set to the object ID followed by the generation number separated by a blank (the 'R' is omitted from the token).
Public methodScanNumber
Scans a number.
Public methodScanNumberOrReference
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference