| 86 | |
| 87 | |
| 88 | bool Foam::dimensionSet::tokeniser::valid(char c) |
| 89 | { |
| 90 | return |
| 91 | ( |
| 92 | !isspace(c) |
| 93 | && c != '"' // string quote |
| 94 | && c != '\'' // string quote |
| 95 | && c != '/' // div |
| 96 | && c != ';' // end statement |
| 97 | && c != '{' // beg subdict |
| 98 | && c != '}' // end subdict |
| 99 | && c != '(' // beg expr |
| 100 | && c != ')' // end expr |
| 101 | && c != '[' // beg dim |
| 102 | && c != ']' // end dim |
| 103 | && c != '^' // power |
| 104 | && c != '*' // mult |
| 105 | ); |
| 106 | } |
| 107 | |
| 108 | |
| 109 | Foam::label Foam::dimensionSet::tokeniser::priority(const token& t) |
no test coverage detected