//---------------------------------------------------------------------- public void addConst(ConstData aConst) { mConstList.Add(aConst); if (aConst.mName.Length > mConstMaxSize) { mConstMaxSize = aConst.mName.Length; } }
//********************************************************************** //********************************************************************** //********************************************************************** //********************************************************************** public void processConst(CmdLineCmd aCmd) { ConstData tConst = new ConstData(); tConst.mName = aCmd.argString(1); if (aCmd.isArgString(2, "=")) { tConst.mInitialValue = aCmd.argString(3); } tConst.addPreCommentList(mPreCommentList); mPreCommentList = new List <String>(); tConst.addPostComment(aCmd.comment()); mBlockData.addConst(tConst); }