Property | Type | Description | |
---|---|---|---|
AppendAndScanNextChar | char | ||
IsDelimiter | bool | ||
IsOperatorChar | bool | ||
IsWhiteSpace | bool | ||
ScanNextChar | char |
Method | Description | |
---|---|---|
CLexer ( byte content ) : System |
Initializes a new instance of the Lexer class.
|
|
ClearToken ( ) : void |
Resets the current token to the empty string.
|
|
MoveToNonWhiteSpace ( ) : char |
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 ( ) : CSymbol |
Scans a comment line. (Not yet used, comments are skipped by lexer.)
|
|
ScanHexadecimalString ( ) : CSymbol | ||
ScanInlineImage ( ) : CSymbol |
Scans the bytes of an inline image
|
|
ScanLiteralString ( ) : CSymbol | ||
ScanName ( ) : CSymbol |
Scans a name.
|
|
ScanNextToken ( ) : CSymbol |
Reads the next token and returns its type.
|
|
ScanNumber ( ) : CSymbol |
Scans an integer or real number.
|
|
ScanOperator ( ) : CSymbol |
Scans an operator.
|
Method | Description | |
---|---|---|
AppendAndScanNextChar ( ) : char |
Appends current character to the token and reads next one.
|
|
IsDelimiter ( char ch ) : bool |
Indicates whether the specified character is a PDF delimiter character.
|
|
IsOperatorChar ( char ch ) : bool |
Indicates whether the specified character is an content operator character.
|
|
IsWhiteSpace ( char ch ) : bool |
Indicates whether the specified character is a content stream white-space character.
|
|
ScanNextChar ( ) : char |
Move current position one character further in content stream.
|