Example #1
0
        protected virtual ServiceProperty ProcessProperty()
        {
            var retval = new ServiceProperty
            {
                Name = this.tokenizer.CurrentIdentifier
            };

            this.ReadNextToken();

            this.Expect(FicklefileToken.Colon);

            this.ReadNextToken();

            retval.TypeName = this.ParseTypeName();

            return retval;
        }
 public virtual Expression Build(ServiceProperty property)
 {
     return new PropertyDefinitionExpression(property.Name, this.GetTypeFromName(property.TypeName));
 }