Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 20 | pmbaty | 1 | #ifndef _TOKEN_H_ |
| 2 | #define _TOKEN_H_ |
||
| 3 | |||
| 4 | #include "brender/br_types.h" |
||
| 5 | |||
| 6 | void BrTokenBegin(void); |
||
| 7 | |||
| 8 | br_token BrTokenCreate(char* identifier, br_token type); |
||
| 9 | |||
| 10 | char* BrTokenIdentifier(br_token t); |
||
| 11 | |||
| 12 | br_token BrTokenType(br_token t); |
||
| 13 | |||
| 14 | br_int_32 BrTokenCount(char* pattern); |
||
| 15 | |||
| 16 | br_token BrTokenFind(char* pattern); |
||
| 17 | |||
| 18 | br_int_32 BrTokenFindMany(char* pattern, br_token* tokens, br_int_32 max_tokens); |
||
| 19 | |||
| 20 | br_token BrTokenFindType(br_token* ptype, char* base, br_token* types, br_int_32 ntypes); |
||
| 21 | |||
| 22 | #endif |