list all types of tokens in the c language ? and for each type list its attribute ?
1
Expert's answer
2017-01-19T06:30:55-0500
List of tokens in C language: 1. Keywords 2. Identifiers 3. Constants 4. Strings 5. Special symbols 6. Operations
Each token has the same list of attributes: 1. Type of of the token (the return value is TokenType) 2. Text that token consists of (the return value is String) 3. Line number of the token (the return value is int) 4. Column number of the token (the return value is int)
Comments
Leave a comment