Lexer MethodsTerminal Works - PDF Printing.Net Library

The Lexer type exposes the following members.

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 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 (Inherited from Object.)
Top
See Also

Reference