예제 #1
0
 public void AddStatement(ValueData statement)
 {
     m_Statements.Add(statement);
     if ((int)ExtentClassEnum.EXTENT_CLASS_STATEMENT != m_ExtentClass)
     {
         m_ExtentClass = (int)ExtentClassEnum.EXTENT_CLASS_STATEMENT;
     }
 }
예제 #2
0
 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;
 }
예제 #3
0
 public void AddParams(ValueData param)
 {
     m_Params.Add(param);
     if ((int)ParamClassEnum.PARAM_CLASS_NOTHING == m_ParamClass)
     {
         m_ParamClass = (int)ParamClassEnum.PARAM_CLASS_PARENTHESIS;
     }
 }
예제 #4
0
 public void Clear()
 {
     m_Name = null;
     m_Call = null;
     m_IsHighOrder = false;
     m_Params = new List<ISyntaxComponent>();
     m_ParamClass = (int)ParamClassEnum.PARAM_CLASS_NOTHING;
 }
예제 #5
0
 public void CopyFrom(ValueData other)
 {
     m_Type = other.m_Type;
     m_Id = other.m_Id;
     m_Line = other.m_Line;
 }