pymel.tools.envparse.ValueLex¶
digraph inheritance929f6f180c { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "ValueLex" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.tools.envparse.ValueLex",style="setlinewidth(0.5)",tooltip="second level lexer to parse right-values depending on os name",height=0.25,shape=box,fontsize=8]; }
- class ValueLex(symbols, osname='nt')¶
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')¶