예제 #1
0
 public static bool IsPredefinedType(this FieldPropertyTypeContext context)
 {
     return(context.GetTokens(PREDEFINED_TYPE).Length == 1);
 }
예제 #2
0
 public static bool IsRequired(this FieldPropertyTypeContext context)
 {
     return(context.GetTokens(REQUIRED).Length == 1);
 }
예제 #3
0
        public static string GetTypeName(this FieldPropertyTypeContext context)
        {
            var typeNameText = context.children.AggregateText();

            return(typeNameText);
        }
예제 #4
0
 public static bool IsOptional(this FieldPropertyTypeContext context)
 {
     return(context.GetTokens(OPTIONAL).Length == 1);
 }