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)  

geany_tcl.c File Reference
#include "general.h"
#include <string.h>
#include "parse.h"
#include "read.h"
#include "routines.h"
#include "vstring.h"
Include dependency graph for geany_tcl.c:

Go to the source code of this file.

Enumerations

enum  tclKind { K_CLASS , K_METHOD , K_PROCEDURE , K_MODULE }
 

Functions

static const unsigned char * makeTclTag (const unsigned char *cp, vString *const name, const tclKind kind)
 
static bool match (const unsigned char *line, const char *word)
 
static void findTclTags (void)
 
parserDefinitionTclParser (void)
 

Variables

static kindDefinition TclKinds []
 

Enumeration Type Documentation

◆ tclKind

enum tclKind
Enumerator
K_CLASS 
K_METHOD 
K_PROCEDURE 
K_MODULE 

Definition at line 25 of file geany_tcl.c.

Function Documentation

◆ findTclTags()

static void findTclTags ( void  )
static

◆ makeTclTag()

static const unsigned char * makeTclTag ( const unsigned char *  cp,
vString *const  name,
const tclKind  kind 
)
static

Definition at line 40 of file geany_tcl.c.

References makeSimpleTag(), name, vStringClear, and vStringPut().

Referenced by findTclTags().

◆ match()

◆ TclParser()

Variable Documentation

◆ TclKinds

kindDefinition TclKinds[]
static
Initial value:
= {
{ true, 'c', "class", "classes" },
{ true, 'm', "method", "methods" },
{ true, 'p', "procedure", "procedures" },
{ true, 'n', "module", "modules" }
}

Definition at line 29 of file geany_tcl.c.

Referenced by TclParser().