Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public override meaning createmeaning()
        {
            meaning retVal = new Meaning();

            _defaultValueSetter.SetDefaultValue(retVal);

            return retVal;
        }