Lines Matching refs:other
45 Token& Token::operator= (const Token& other)
53 m_type = other.m_type;
57 m_arg.identifier = deStrdup(other.m_arg.identifier);
62 m_arg.floatValue = other.m_arg.floatValue;
64 m_arg.intValue = other.m_arg.intValue;
66 m_arg.boolValue = other.m_arg.boolValue;
71 Token::Token (const Token& other)
74 *this = other;
77 bool Token::operator!= (const Token& other) const
79 if (m_type != other.m_type)
82 if (m_type == IDENTIFIER && !deStringEqual(m_arg.identifier, other.m_arg.identifier))
84 else if (m_type == FLOAT_LITERAL && m_arg.floatValue != other.m_arg.floatValue)
86 else if (m_type == INT_LITERAL && m_arg.intValue != other.m_arg.intValue)
88 else if (m_type == BOOL_LITERAL && m_arg.boolValue != other.m_arg.boolValue)