Simple TokensΒΆ
Simple tokens, are tokens created by the Token Generator (Tokenizer).
The tokenizer has no deep knowledge of the VHDL language, thus it can only detect a limited number of distinct tokens. These token require only a context of up to two characters while parsing.
List of simple tokens:
Kind |
Examples |
pyVHDLParser Token Class |
---|---|---|
Single character |
|
|
Multiple characters |
|
|
Whitespace (space, tab) |
||
Word |
|
|
Single-line comment |
|
|
Multi-line comment |
|
|
Integer literal |
|
|
Real literal |
|
|
Character literal |
|
|
String literal |
|
|
Bit string literal |
|
|
Extended identifiers |
|
|
Tool directives |
||
Linebreak |
|
|
indentation |
|