Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public virtual Expression Build(ServiceProperty property)
 {
     return new PropertyDefinitionExpression(property.Name, this.GetTypeFromName(property.TypeName));
 }