예제 #1
0
 public CDCPULexerTokenDefinition(dcpuLexerTokenType _type, Regex _matchString, bool _ignore)
 {
     m_type = _type;
     m_matchString = _matchString;
     m_ignoreDefinition = _ignore;
 }
예제 #2
0
        private string m_value; // value

        public CDCPULexerToken(int _index, int _line, int _column, dcpuLexerTokenType _type, string _value)
        {
            m_index = _index;
            m_line = _line;
            m_column = _column;
            m_type = _type;
            m_value = _value;
        }