pymel.tools.envparse.ValueLex¶
- class ValueLex(symbols, osname='posix')¶
second level lexer to parse right-values depending on os name
- class Warn¶
a ValueLex subclass to reset warning count
- ValueLex.build(**kwargs)¶
- ValueLex.t_RVAR1(t)¶
$[^\^/^:^*^”^<^>^|^=^ ^t^n^#^$]+
- ValueLex.t_RVAR2(t)¶
%[^\^/^:^*^”^<^>^|^=^ ^t^n^#]+%
- ValueLex.t_SEP(t)¶
:;
- ValueLex.t_VALUE(t)¶
[^=^n^#^$]+
- ValueLex.t_error(t)¶
- ValueLex.t_ignore = '^[ \t]+'¶
- ValueLex.test(data)¶
- ValueLex.tokens = ('SEP', 'RVAR1', 'RVAR2', 'PATHSEP', 'VALUE')¶