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