Пример #1
0
 public virtual void Visit(IdAttribute attribute)
 {
     VisitSubNodes(attribute);
 }
Пример #2
0
        /// <summary>
        /// Parser for IdAttribute
        /// </summary>
        /// <returns>Parsed IdAttribute</returns>
        public IdAttribute ParseIdAttribute()
        {
            IdAttribute idAttribute = new IdAttribute();

            //Get id token
            CurrentToken = TokenStream.NextToken();
            idAttribute.SetId(CurrentToken.GetValue().ToString());

            return idAttribute;
        }