示例#1
0
            //PCOPYASSIGNMOVE(token_t, default)

            //~token_t() = default;


            public bool is_(token_id_t tok_id)
            {
                return(m_id == tok_id.id());
            }
示例#2
0
 public token_t(token_id_t id)
 {
     m_type  = token_type.TOKEN;
     m_id    = id.id();
     m_token = id.name();
 }
示例#3
0
 public token_t(token_id_t id, string str)
 {
     m_type  = token_type.TOKEN;
     m_id    = id.id();
     m_token = str;
 }