public static bool IsPredefinedType(this FieldPropertyTypeContext context) { return(context.GetTokens(PREDEFINED_TYPE).Length == 1); }
public static bool IsRequired(this FieldPropertyTypeContext context) { return(context.GetTokens(REQUIRED).Length == 1); }
public static string GetTypeName(this FieldPropertyTypeContext context) { var typeNameText = context.children.AggregateText(); return(typeNameText); }
public static bool IsOptional(this FieldPropertyTypeContext context) { return(context.GetTokens(OPTIONAL).Length == 1); }