pymel.tools.envparse.EnvLex¶
- class EnvLex¶
ply.lex lexer class to parse Maya.env file
- build(**kwargs)¶
- t_ANY_error(t)¶
- t_ANY_ignore_COMMENT = '\\#[^\\n]*'¶
- t_ANY_newline(t)¶
[ t]*n+
- t_INITIAL_error(t)¶
- t_INITIAL_ignore = '^[ \t]+'¶
- t_VAR(t)¶
[^\^/^:^*^”^<^>^|^=^ ^t^n^#]+
- t_cancel_ignore = '[^\n]+'¶
- t_end_ASSIGN(t)¶
[ t]*=[ t]*
- t_end_VALUE(t)¶
[^=^n^#]+
- t_end_ignore = '[ \t]+$'¶
- t_left_ASSIGN(t)¶
[ t]*=[ t]*
- t_left_error(t)¶
- t_left_ignore = '[ \t]+'¶
- t_right_ASSIGN(t)¶
[ t]*=[ t]*
- t_right_VALUE(t)¶
[^=^n^#]+
- t_right_error(t)¶
- t_right_ignore = '[ \t]+'¶
- test(data)¶
- tokens = ('COMMENT', 'ASSIGN', 'VAR', 'VALUE', 'OK', 'CANCEL', 'newline')¶