Exemple #1
0
        /// <summary>
        ///     The SpecialOrReservedValue content
        /// </summary>
        public string GetText(int depth)
        {
            string tab = "";

            for (int i = 0; i < depth; i++)
            {
                tab += "    ";
            }
            string retVal = tab + "SpecialOrReservedValue: \n";

            if (getMask() != null)
            {
                Mask mask = getMask() as Mask;
                retVal += mask.GetText(depth + 1);
            }
            if (getMatch() != null)
            {
                Match match = getMatch() as Match;
                retVal += match.GetText(depth + 1);
            }
            if (getMatch_range() != null)
            {
                MatchRange matchRange = getMatch_range() as MatchRange;
                retVal += matchRange.GetText(depth + 1);
            }
            if (getMeaning() != null)
            {
                Meaning meaning = getMeaning() as Meaning;
                retVal += meaning.GetText(depth + 1);
            }
            if (getValue() != null)
            {
                Value value = getValue() as Value;
                retVal += value.GetText(depth + 1);
            }
            return(retVal);
        }
        public override match_range creatematch_range()
        {
            match_range retVal = new MatchRange();

            _defaultValueSetter.SetDefaultValue(retVal);

            return retVal;
        }