public void AddStatement(ValueData statement) { m_Statements.Add(statement); if ((int)ExtentClassEnum.EXTENT_CLASS_STATEMENT != m_ExtentClass) { m_ExtentClass = (int)ExtentClassEnum.EXTENT_CLASS_STATEMENT; } }
public void CopyFrom(CallData other) { m_IsHighOrder = other.m_IsHighOrder; m_Name = other.m_Name; m_Call = other.m_Call; m_Params = other.m_Params; m_ParamClass = other.m_ParamClass; }
public void AddParams(ValueData param) { m_Params.Add(param); if ((int)ParamClassEnum.PARAM_CLASS_NOTHING == m_ParamClass) { m_ParamClass = (int)ParamClassEnum.PARAM_CLASS_PARENTHESIS; } }
public void Clear() { m_Name = null; m_Call = null; m_IsHighOrder = false; m_Params = new List<ISyntaxComponent>(); m_ParamClass = (int)ParamClassEnum.PARAM_CLASS_NOTHING; }
public void CopyFrom(ValueData other) { m_Type = other.m_Type; m_Id = other.m_Id; m_Line = other.m_Line; }