geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

field.c File Reference
#include "general.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "ctags.h"
#include "debug.h"
#include "entry.h"
#include "entry_p.h"
#include "field.h"
#include "field_p.h"
#include "kind.h"
#include "options_p.h"
#include "parse_p.h"
#include "read.h"
#include "routines.h"
#include "trashbox.h"
#include "writer_p.h"
#include "xtag_p.h"
Include dependency graph for field.c:

Go to the source code of this file.

Classes

struct  sFieldObject
 

Macros

#define FIELD_NULL_LETTER_CHAR   '-'
 
#define FIELD_NULL_LETTER_STRING   "-"
 
#define DEFINE_FIELD(L, N, V, H, DT, RE)    DEFINE_FIELD_FULL (L, N, V, H, NULL, DT, RE, NULL, NULL)
 
#define DEFINE_FIELD_FULL(L, N, V, H, A, DT, RE, RN, DCAC)
 
#define WITH_DEFUALT_VALUE(str)   ((str)?(str):FIELD_NULL_LETTER_STRING)
 
#define FIELD_COL_LETTER   0
 
#define FIELD_COL_NAME   1
 
#define FIELD_COL_ENABLED   2
 
#define FIELD_COL_LANGUAGE   3
 
#define FIELD_COL_JSTYPE   4
 
#define FIELD_COL_FIXED   5
 
#define FIELD_COL_DESCRIPTION   6
 

Typedefs

typedef struct sFieldObject fieldObject
 

Functions

static const char * renderFieldName (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldNameNoEscape (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldInput (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldInputNoEscape (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldCompactInputLine (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldSignature (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldSignatureNoEscape (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldScope (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldScopeNoEscape (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldTyperef (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldInherits (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldKindName (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldLineNumber (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldLanguage (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldAccess (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldKindLetter (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldImplementation (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldFile (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldPattern (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldRoles (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldRefMarker (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldExtras (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldXpath (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldScopeKindName (const tagEntryInfo *const tag, const char *value, vString *b)
 
static const char * renderFieldEnd (const tagEntryInfo *const tag, const char *value, vString *b)
 
static bool doesContainAnyCharInName (const tagEntryInfo *const tag, const char *value, const char *chars)
 
static bool doesContainAnyCharInInput (const tagEntryInfo *const tag, const char *value, const char *chars)
 
static bool doesContainAnyCharInFieldScope (const tagEntryInfo *const tag, const char *value, const char *chars)
 
static bool doesContainAnyCharInSignature (const tagEntryInfo *const tag, const char *value, const char *chars)
 
static bool isLanguageFieldAvailable (const tagEntryInfo *const tag)
 
static bool isTyperefFieldAvailable (const tagEntryInfo *const tag)
 
static bool isFileFieldAvailable (const tagEntryInfo *const tag)
 
static bool isInheritsFieldAvailable (const tagEntryInfo *const tag)
 
static bool isAccessFieldAvailable (const tagEntryInfo *const tag)
 
static bool isImplementationFieldAvailable (const tagEntryInfo *const tag)
 
static bool isSignatureFieldAvailable (const tagEntryInfo *const tag)
 
static bool isExtrasFieldAvailable (const tagEntryInfo *const tag)
 
static bool isXpathFieldAvailable (const tagEntryInfo *const tag)
 
static bool isEndFieldAvailable (const tagEntryInfo *const tag)
 
void initFieldObjects (void)
 
static fieldObjectgetFieldObject (fieldType type)
 
fieldType getFieldTypeForOption (char letter)
 
fieldType getFieldTypeForName (const char *name)
 
fieldType getFieldTypeForNameAndLanguage (const char *fieldName, langType language)
 
const char * getFieldDescription (fieldType type)
 
const char * getFieldName (fieldType type)
 
unsigned char getFieldLetter (fieldType type)
 
bool doesFieldHaveValue (fieldType type, const tagEntryInfo *tag)
 
static const char * renderAsIs (vString *b, const char *s)
 
static const char * renderEscapedString (const char *s, const tagEntryInfo *const tag, vString *b)
 
static const char * renderEscapedName (const bool isTagName, const char *s, const tagEntryInfo *const tag, vString *b)
 
static const char * renderFieldCommon (fieldType type, const tagEntryInfo *tag, int index, bool noEscaping)
 
const char * renderField (fieldType type, const tagEntryInfo *tag, int index)
 
const char * renderFieldNoEscaping (fieldType type, const tagEntryInfo *tag, int index)
 
static bool defaultDoesContainAnyChar (const tagEntryInfo *const tag, const char *value, const char *chars)
 
bool doesFieldHaveTabOrNewlineChar (fieldType type, const tagEntryInfo *tag, int index)
 
static const char * renderCompactInputLine (vString *b, const char *const line)
 
bool isFieldEnabled (fieldType type)
 
bool enableField (fieldType type, bool state, bool warnIfFixedField)
 
bool isCommonField (fieldType type)
 
int getFieldOwner (fieldType type)
 
unsigned int getFieldDataType (fieldType type)
 
bool doesFieldHaveRenderer (fieldType type, bool noEscaping)
 
int countFields (void)
 
fieldType nextSiblingField (fieldType type)
 
static void updateSiblingField (fieldType type, const char *name)
 
static const char * defaultRenderer (const tagEntryInfo *const tag, const char *value, vString *buffer)
 
int defineField (fieldDefinition *def, langType language)
 
struct colprintTablefieldColprintTableNew (void)
 
static void fieldColprintAddLine (struct colprintTable *table, int i)
 
void fieldColprintAddCommonLines (struct colprintTable *table)
 
void fieldColprintAddLanguageLines (struct colprintTable *table, langType language)
 
static int fieldColprintCompareLines (struct colprintLine *a, struct colprintLine *b)
 
void fieldColprintTablePrint (struct colprintTable *table, bool withListHeader, bool machinable, FILE *fp)
 

Variables

static fieldDefinition fieldDefinitionsFixed []
 
static fieldDefinition fieldDefinitionsExuberant []
 
static fieldDefinition fieldDefinitionsUniversal []
 
static unsigned int fieldObjectUsed = 0
 
static unsigned int fieldObjectAllocated = 0
 
static fieldObjectfieldObjects = NULL
 

Macro Definition Documentation

◆ DEFINE_FIELD

#define DEFINE_FIELD (   L,
  N,
  V,
  H,
  DT,
  RE 
)     DEFINE_FIELD_FULL (L, N, V, H, NULL, DT, RE, NULL, NULL)

Definition at line 88 of file field.c.

◆ DEFINE_FIELD_FULL

#define DEFINE_FIELD_FULL (   L,
  N,
  V,
  H,
  A,
  DT,
  RE,
  RN,
  DCAC 
)
Value:
{ \
.letter = L, \
.name = N, \
.description = H, \
.enabled = V, \
.render = RE, \
.renderNoEscaping= RN, \
.doesContainAnyChar = DCAC, \
.isValueAvailable = A, \
.dataType = DT, \
}

Definition at line 90 of file field.c.

◆ FIELD_COL_DESCRIPTION

#define FIELD_COL_DESCRIPTION   6

Definition at line 1104 of file field.c.

◆ FIELD_COL_ENABLED

#define FIELD_COL_ENABLED   2

Definition at line 1100 of file field.c.

◆ FIELD_COL_FIXED

#define FIELD_COL_FIXED   5

Definition at line 1103 of file field.c.

◆ FIELD_COL_JSTYPE

#define FIELD_COL_JSTYPE   4

Definition at line 1102 of file field.c.

◆ FIELD_COL_LANGUAGE

#define FIELD_COL_LANGUAGE   3

Definition at line 1101 of file field.c.

◆ FIELD_COL_LETTER

#define FIELD_COL_LETTER   0

Definition at line 1098 of file field.c.

◆ FIELD_COL_NAME

#define FIELD_COL_NAME   1

Definition at line 1099 of file field.c.

◆ FIELD_NULL_LETTER_CHAR

#define FIELD_NULL_LETTER_CHAR   '-'

Definition at line 34 of file field.c.

◆ FIELD_NULL_LETTER_STRING

#define FIELD_NULL_LETTER_STRING   "-"

Definition at line 35 of file field.c.

◆ WITH_DEFUALT_VALUE

#define WITH_DEFUALT_VALUE (   str)    ((str)?(str):FIELD_NULL_LETTER_STRING)

Definition at line 103 of file field.c.

Typedef Documentation

◆ fieldObject

typedef struct sFieldObject fieldObject

Function Documentation

◆ countFields()

int countFields ( void  )

Definition at line 1011 of file field.c.

References fieldObjectUsed.

Referenced by makeFieldDescriptionsPseudoTags(), and resetFieldsOption().

◆ defaultDoesContainAnyChar()

static bool defaultDoesContainAnyChar ( const tagEntryInfo *const  tag,
const char *  value,
const char *  chars 
)
static

Definition at line 591 of file field.c.

References chars.

Referenced by doesFieldHaveTabOrNewlineChar().

◆ defaultRenderer()

static const char * defaultRenderer ( const tagEntryInfo *const  tag,
const char *  value,
vString buffer 
)
static

Definition at line 1041 of file field.c.

References renderEscapedString().

Referenced by defineField().

◆ defineField()

◆ doesContainAnyCharInFieldScope()

static bool doesContainAnyCharInFieldScope ( const tagEntryInfo *const  tag,
const char *  value,
const char *  chars 
)
static

Definition at line 522 of file field.c.

References chars, getTagScopeInformation(), NULL, and scope.

◆ doesContainAnyCharInInput()

static bool doesContainAnyCharInInput ( const tagEntryInfo *const  tag,
const char *  value,
const char *  chars 
)
static

◆ doesContainAnyCharInName()

static bool doesContainAnyCharInName ( const tagEntryInfo *const  tag,
const char *  value,
const char *  chars 
)
static

Definition at line 454 of file field.c.

References chars, and sTagEntryInfo::name.

◆ doesContainAnyCharInSignature()

static bool doesContainAnyCharInSignature ( const tagEntryInfo *const  tag,
const char *  value,
const char *  chars 
)
static

Definition at line 499 of file field.c.

References chars, sTagEntryInfo::extensionFields, and sTagEntryInfo::signature.

◆ doesFieldHaveRenderer()

bool doesFieldHaveRenderer ( fieldType  type,
bool  noEscaping 
)

◆ doesFieldHaveTabOrNewlineChar()

◆ doesFieldHaveValue()

bool doesFieldHaveValue ( fieldType  type,
const tagEntryInfo tag 
)

◆ enableField()

◆ fieldColprintAddCommonLines()

void fieldColprintAddCommonLines ( struct colprintTable table)

Definition at line 1146 of file field.c.

References FIELD_BUILTIN_LAST, and fieldColprintAddLine().

Referenced by processListFieldsOption().

◆ fieldColprintAddLanguageLines()

void fieldColprintAddLanguageLines ( struct colprintTable table,
langType  language 
)

◆ fieldColprintAddLine()

◆ fieldColprintCompareLines()

static int fieldColprintCompareLines ( struct colprintLine *  a,
struct colprintLine *  b 
)
static

◆ fieldColprintTableNew()

struct colprintTable * fieldColprintTableNew ( void  )

Definition at line 1105 of file field.c.

References colprintTableNew(), and NULL.

Referenced by processListFieldsOption().

◆ fieldColprintTablePrint()

void fieldColprintTablePrint ( struct colprintTable table,
bool  withListHeader,
bool  machinable,
FILE *  fp 
)

Definition at line 1232 of file field.c.

References colprintTablePrint(), colprintTableSort(), and fieldColprintCompareLines().

Referenced by processListFieldsOption().

◆ getFieldDataType()

unsigned int getFieldDataType ( fieldType  type)

Definition at line 998 of file field.c.

References sFieldDefinition::dataType, sFieldObject::def, and getFieldObject().

Referenced by fieldColprintAddLine(), and printTagField().

◆ getFieldDescription()

const char * getFieldDescription ( fieldType  type)

◆ getFieldLetter()

unsigned char getFieldLetter ( fieldType  type)

◆ getFieldName()

◆ getFieldObject()

◆ getFieldOwner()

int getFieldOwner ( fieldType  type)

◆ getFieldTypeForName()

fieldType getFieldTypeForName ( const char *  name)

Definition at line 320 of file field.c.

References getFieldTypeForNameAndLanguage(), LANG_IGNORE, and name.

◆ getFieldTypeForNameAndLanguage()

fieldType getFieldTypeForNameAndLanguage ( const char *  fieldName,
langType  language 
)

◆ getFieldTypeForOption()

fieldType getFieldTypeForOption ( char  letter)

Definition at line 308 of file field.c.

References FIELD_UNKNOWN, fieldObjects, and fieldObjectUsed.

Referenced by processFieldsOption(), and queueTagField().

◆ initFieldObjects()

◆ isAccessFieldAvailable()

static bool isAccessFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 902 of file field.c.

References sTagEntryInfo::access, sTagEntryInfo::extensionFields, and NULL.

◆ isCommonField()

bool isCommonField ( fieldType  type)

Definition at line 988 of file field.c.

References FIELD_BUILTIN_LAST.

Referenced by enableField(), and printTagField().

◆ isEndFieldAvailable()

static bool isEndFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 940 of file field.c.

References sTagEntryInfo::endLine, and sTagEntryInfo::extensionFields.

◆ isExtrasFieldAvailable()

static bool isExtrasFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 917 of file field.c.

References sTagEntryInfo::extra, and sTagEntryInfo::extraDynamic.

◆ isFieldEnabled()

◆ isFileFieldAvailable()

static bool isFileFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 892 of file field.c.

References sTagEntryInfo::isFileScope.

◆ isImplementationFieldAvailable()

static bool isImplementationFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 907 of file field.c.

References sTagEntryInfo::extensionFields, sTagEntryInfo::implementation, and NULL.

◆ isInheritsFieldAvailable()

static bool isInheritsFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 897 of file field.c.

References sTagEntryInfo::extensionFields, sTagEntryInfo::inheritance, and NULL.

◆ isLanguageFieldAvailable()

static bool isLanguageFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 881 of file field.c.

References LANG_IGNORE, and sTagEntryInfo::langType.

◆ isSignatureFieldAvailable()

static bool isSignatureFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 912 of file field.c.

References sTagEntryInfo::extensionFields, NULL, and sTagEntryInfo::signature.

◆ isTyperefFieldAvailable()

static bool isTyperefFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 886 of file field.c.

References sTagEntryInfo::extensionFields, NULL, and sTagEntryInfo::typeRef.

◆ isXpathFieldAvailable()

static bool isXpathFieldAvailable ( const tagEntryInfo *const  tag)
static

Definition at line 931 of file field.c.

References sTagEntryInfo::extensionFields, and NULL.

◆ nextSiblingField()

fieldType nextSiblingField ( fieldType  type)

◆ renderAsIs()

◆ renderCompactInputLine()

static const char * renderCompactInputLine ( vString b,
const char *const  line 
)
static

Definition at line 627 of file field.c.

References CRETURN, line, NEWLINE, vStringPut(), and vStringValue.

Referenced by renderFieldCompactInputLine().

◆ renderEscapedName()

static const char * renderEscapedName ( const bool  isTagName,
const char *  s,
const tagEntryInfo *const  tag,
vString b 
)
static

◆ renderEscapedString()

static const char * renderEscapedString ( const char *  s,
const tagEntryInfo *const  tag,
vString b 
)
static

◆ renderField()

const char * renderField ( fieldType  type,
const tagEntryInfo tag,
int  index 
)

Definition at line 581 of file field.c.

References index, and renderFieldCommon().

Referenced by escapeFieldValueFull(), and printTagField().

◆ renderFieldAccess()

static const char * renderFieldAccess ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldCommon()

static const char * renderFieldCommon ( fieldType  type,
const tagEntryInfo tag,
int  index,
bool  noEscaping 
)
static

◆ renderFieldCompactInputLine()

static const char * renderFieldCompactInputLine ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldEnd()

static const char * renderFieldEnd ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 866 of file field.c.

References sTagEntryInfo::endLine, sTagEntryInfo::extensionFields, NULL, and renderAsIs().

◆ renderFieldExtras()

static const char * renderFieldExtras ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldFile()

static const char * renderFieldFile ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 776 of file field.c.

References FIELD_NULL_LETTER_STRING, sTagEntryInfo::isFileScope, and renderAsIs().

◆ renderFieldImplementation()

static const char * renderFieldImplementation ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldInherits()

static const char * renderFieldInherits ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldInput()

static const char * renderFieldInput ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldInputNoEscape()

static const char * renderFieldInputNoEscape ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldKindLetter()

static const char * renderFieldKindLetter ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 758 of file field.c.

References getTagKindLetter(), and renderAsIs().

◆ renderFieldKindName()

static const char * renderFieldKindName ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 657 of file field.c.

References getTagKindName(), name, and renderAsIs().

◆ renderFieldLanguage()

static const char * renderFieldLanguage ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldLineNumber()

static const char * renderFieldLineNumber ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldName()

static const char * renderFieldName ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 444 of file field.c.

References sTagEntryInfo::name, and renderEscapedName().

◆ renderFieldNameNoEscape()

static const char * renderFieldNameNoEscape ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 449 of file field.c.

References sTagEntryInfo::name, and renderAsIs().

◆ renderFieldNoEscaping()

const char * renderFieldNoEscaping ( fieldType  type,
const tagEntryInfo tag,
int  index 
)

Definition at line 586 of file field.c.

References index, and renderFieldCommon().

Referenced by escapeFieldValueFull().

◆ renderFieldPattern()

static const char * renderFieldPattern ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldRefMarker()

static const char * renderFieldRefMarker ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 802 of file field.c.

References sTagEntryInfo::extensionFields, renderAsIs(), and sTagEntryInfo::roleBits.

◆ renderFieldRoles()

static const char * renderFieldRoles ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldScope()

static const char * renderFieldScope ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 506 of file field.c.

References getTagScopeInformation(), NULL, renderEscapedName(), and scope.

◆ renderFieldScopeKindName()

static const char * renderFieldScopeKindName ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 856 of file field.c.

References getTagScopeInformation(), NULL, and renderAsIs().

◆ renderFieldScopeNoEscape()

static const char * renderFieldScopeNoEscape ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 514 of file field.c.

References getTagScopeInformation(), NULL, renderAsIs(), and scope.

◆ renderFieldSignature()

static const char * renderFieldSignature ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldSignatureNoEscape()

static const char * renderFieldSignatureNoEscape ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldTyperef()

static const char * renderFieldTyperef ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

◆ renderFieldXpath()

static const char * renderFieldXpath ( const tagEntryInfo *const  tag,
const char *  value,
vString b 
)
static

Definition at line 844 of file field.c.

References sTagEntryInfo::extensionFields, NULL, and renderEscapedString().

◆ updateSiblingField()

static void updateSiblingField ( fieldType  type,
const char *  name 
)
static

Variable Documentation

◆ fieldDefinitionsExuberant

fieldDefinition fieldDefinitionsExuberant[]
static

Definition at line 125 of file field.c.

Referenced by initFieldObjects().

◆ fieldDefinitionsFixed

fieldDefinition fieldDefinitionsFixed[]
static
Initial value:
= {
{ .letter = 'N' , .name = "name" , .description = "tag name" , .enabled = true , .render = renderFieldName , .renderNoEscaping= renderFieldNameNoEscape , .doesContainAnyChar = doesContainAnyCharInName , .isValueAvailable = NULL , .dataType = FIELDTYPE_STRING , },
{ .letter = 'F' , .name = "input" , .description = "input file" , .enabled = true , .render = renderFieldInput , .renderNoEscaping= renderFieldInputNoEscape , .doesContainAnyChar = doesContainAnyCharInInput , .isValueAvailable = NULL , .dataType = FIELDTYPE_STRING , },
{ .letter = 'P' , .name = "pattern" , .description = "pattern" , .enabled = true , .render = renderFieldPattern , .renderNoEscaping= NULL , .doesContainAnyChar = NULL , .isValueAvailable = NULL , .dataType = FIELDTYPE_STRING|FIELDTYPE_BOOL , },
}
static bool doesContainAnyCharInInput(const tagEntryInfo *const tag, const char *value, const char *chars)
Definition: field.c:478
static const char * renderFieldInputNoEscape(const tagEntryInfo *const tag, const char *value, vString *b)
Definition: field.c:468
static const char * renderFieldInput(const tagEntryInfo *const tag, const char *value, vString *b)
Definition: field.c:459
static bool doesContainAnyCharInName(const tagEntryInfo *const tag, const char *value, const char *chars)
Definition: field.c:454
static const char * renderFieldNameNoEscape(const tagEntryInfo *const tag, const char *value, vString *b)
Definition: field.c:449
static const char * renderFieldPattern(const tagEntryInfo *const tag, const char *value, vString *b)
Definition: field.c:783
static const char * renderFieldName(const tagEntryInfo *const tag, const char *value, vString *b)
Definition: field.c:444
@ FIELDTYPE_STRING
Definition: field.h:65
@ FIELDTYPE_BOOL
Definition: field.h:67
#define NULL
Definition: rbtree.h:150

Definition at line 105 of file field.c.

Referenced by fieldColprintCompareLines(), and initFieldObjects().

◆ fieldDefinitionsUniversal

fieldDefinition fieldDefinitionsUniversal[]
static

Definition at line 194 of file field.c.

Referenced by initFieldObjects().

◆ fieldObjectAllocated

unsigned int fieldObjectAllocated = 0
static

Definition at line 234 of file field.c.

Referenced by defineField(), and initFieldObjects().

◆ fieldObjects

◆ fieldObjectUsed