Exemplo n.º 1
0
 public void SetCurrentState(AntlrClassifierLexerState state)
 {
     _mode        = state.Mode;
     _actionLevel = state.ActionLevel;
     _inComment   = state.InComment;
     _inOptions   = state.InOptions;
     _inTokens    = state.InTokens;
 }
Exemplo n.º 2
0
 public AntlrClassifierLexerState(AntlrClassifierLexerMode mode, int actionLevel, bool inComment, bool inOptions, bool inTokens)
 {
     Mode        = mode;
     ActionLevel = actionLevel;
     InComment   = inComment;
     InOptions   = inOptions;
     InTokens    = inTokens;
 }