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
![]() ![]() |
#include "general.h"
#include <string.h>
#include <setjmp.h>
#include "debug.h"
#include "mio.h"
#include "entry.h"
#include "geany_lcpp.h"
#include "keyword.h"
#include "options.h"
#include "parse.h"
#include "read.h"
#include "routines.h"
#include "xtag.h"
Go to the source code of this file.
Classes | |
struct | sKeywordDesc |
struct | sMemberInfo |
struct | sTokenInfo |
struct | sStatementInfo |
struct | sParenInfo |
Macros | |
#define | activeToken(st) ((st)->token [(int) (st)->tokenIndex]) |
#define | parentDecl(st) |
#define | isType(token, t) (bool) ((token)->type == (t)) |
#define | insideEnumBody(st) |
#define | isExternCDecl(st, c) |
#define | isOneOf(c, s) (bool) (strchr ((s), (c)) != NULL) |
Typedefs | |
typedef enum eException | exception_t |
typedef int | keywordId |
typedef struct sKeywordDesc | keywordDesc |
typedef enum eTokenType | tokenType |
typedef enum eTagScope | tagScope |
typedef enum eDeclaration | declType |
typedef enum eVisibilityType | accessType |
typedef struct sMemberInfo | memberInfo |
typedef struct sTokenInfo | tokenInfo |
typedef enum eImplementation | impType |
typedef struct sStatementInfo | statementInfo |
typedef enum eTagType | tagType |
typedef struct sParenInfo | parenInfo |
Functions | |
static void | createTags (const unsigned int nestLevel, statementInfo *const parent) |
static void | copyToken (tokenInfo *const dest, const tokenInfo *const src) |
static const char * | getVarType (const statementInfo *const st, const tokenInfo *const token) |
static void | initToken (tokenInfo *const token) |
static void | advanceToken (statementInfo *const st) |
static tokenInfo * | prevToken (const statementInfo *const st, unsigned int n) |
static void | setToken (statementInfo *const st, const tokenType type) |
static void | retardToken (statementInfo *const st) |
static tokenInfo * | newToken (void) |
static void | deleteToken (tokenInfo *const token) |
static const char * | accessString (const accessType laccess) |
static const char * | implementationString (const impType imp) |
static bool | isDataTypeKeyword (const tokenInfo *const token) |
static bool | isContextualKeyword (const tokenInfo *const token) |
static bool | isContextualStatement (const statementInfo *const st) |
static bool | isMember (const statementInfo *const st) |
static void | initMemberInfo (statementInfo *const st) |
static void | reinitStatement (statementInfo *const st, const bool partial) |
static void | reinitStatementWithToken (statementInfo *const st, tokenInfo *token, const bool partial) |
static void | initStatement (statementInfo *const st, statementInfo *const parent) |
static cKind | cTagKind (const tagType type) |
static csharpKind | csharpTagKind (const tagType type) |
static dKind | dTagKind (const tagType type) |
static valaKind | valaTagKind (const tagType type) |
static javaKind | javaTagKind (const tagType type) |
static int | kindIndexForType (const tagType type) |
static tagType | declToTagType (const declType declaration) |
static const char * | accessField (const statementInfo *const st) |
static void | addOtherFields (tagEntryInfo *const tag, const tagType type, const tokenInfo *const nameToken, const statementInfo *const st, vString *const scope) |
static void | addContextSeparator (vString *const scope) |
static void | findScopeHierarchy (vString *const string, const statementInfo *const st) |
static void | makeExtraTagEntry (const tagType type, tagEntryInfo *const e, vString *const scope) |
static void | makeTag (const tokenInfo *const token, const statementInfo *const st, bool isFileScope, const tagType type) |
static bool | isValidTypeSpecifier (const declType declaration) |
static void | qualifyEnumeratorTag (const statementInfo *const st, const tokenInfo *const nameToken) |
static void | qualifyFunctionTag (const statementInfo *const st, const tokenInfo *const nameToken) |
static void | qualifyFunctionDeclTag (const statementInfo *const st, const tokenInfo *const nameToken) |
static void | qualifyCompoundTag (const statementInfo *const st, const tokenInfo *const nameToken) |
static void | qualifyBlockTag (statementInfo *const st, const tokenInfo *const nameToken) |
static void | qualifyVariableTag (const statementInfo *const st, const tokenInfo *const nameToken) |
static int | skipToOneOf (const char *const chars) |
static int | skipToNonWhite (void) |
static void | skipToFormattedBraceMatch (void) |
static void | skipToMatch (const char *const pair) |
static void | skipParens (void) |
static void | skipBraces (void) |
static keywordId | analyzeKeyword (const char *const name) |
static void | analyzeIdentifier (tokenInfo *const token) |
static void | readIdentifier (tokenInfo *const token, const int firstChar) |
static void | readPackageName (tokenInfo *const token, const int firstChar) |
static void | readPackageOrNamespace (statementInfo *const st, const declType declaration) |
static void | readPackage (statementInfo *const st) |
static void | processName (statementInfo *const st) |
static void | readOperator (statementInfo *const st) |
static void | setAccess (statementInfo *const st, const accessType laccess) |
static void | discardTypeList (tokenInfo *const token) |
static void | addParentClass (statementInfo *const st, tokenInfo *const token) |
static void | readParents (statementInfo *const st, const int qualifier) |
static void | checkIsClassEnum (statementInfo *const st, const declType decl) |
static void | processToken (tokenInfo *const token, statementInfo *const st) |
static void | restartStatement (statementInfo *const st) |
static void | skipMemIntializerList (tokenInfo *const token) |
static void | skipMacro (statementInfo *const st) |
static bool | isDPostArgumentToken (tokenInfo *const token) |
static bool | skipPostArgumentStuff (statementInfo *const st, parenInfo *const info) |
static void | skipJavaThrows (statementInfo *const st) |
static void | skipValaPostParens (statementInfo *const st) |
static void | analyzePostParens (statementInfo *const st, parenInfo *const info) |
static int | parseParens (statementInfo *const st, parenInfo *const info) |
static void | initParenInfo (parenInfo *const info) |
static void | analyzeParens (statementInfo *const st) |
static void | addContext (statementInfo *const st, const tokenInfo *const token) |
static bool | inheritingDeclaration (declType decl) |
static void | processColon (statementInfo *const st) |
static int | skipInitializer (statementInfo *const st) |
static void | processInitializer (statementInfo *const st) |
static void | parseIdentifier (statementInfo *const st, const int c) |
static void | parseGeneralToken (statementInfo *const st, const int c) |
static void | nextToken (statementInfo *const st) |
static statementInfo * | newStatement (statementInfo *const parent) |
static void | deleteStatement (void) |
static void | deleteAllStatements (void) |
static bool | isStatementEnd (const statementInfo *const st) |
static void | checkStatementEnd (statementInfo *const st) |
static void | nest (statementInfo *const st, const unsigned int nestLevel) |
static void | tagCheck (statementInfo *const st) |
static rescanReason | findCTags (const unsigned int passCount) |
static void | buildKeywordHash (const langType language, unsigned int idx) |
static void | initializeCParser (const langType language) |
static void | initializeCppParser (const langType language) |
static void | initializeJavaParser (const langType language) |
static void | initializeDParser (const langType language) |
static void | initializeGLSLParser (const langType language) |
static void | initializeFeriteParser (const langType language) |
static void | initializeCsharpParser (const langType language) |
static void | initializeValaParser (const langType language) |
parserDefinition * | CParser (void) |
parserDefinition * | CppParser (void) |
parserDefinition * | JavaParser (void) |
parserDefinition * | DParser (void) |
parserDefinition * | GLSLParser (void) |
parserDefinition * | FeriteParser (void) |
parserDefinition * | CsharpParser (void) |
parserDefinition * | ValaParser (void) |
Variables | |
static jmp_buf | Exception |
static langType | Lang_c |
static langType | Lang_cpp |
static langType | Lang_csharp |
static langType | Lang_java |
static langType | Lang_d |
static langType | Lang_glsl |
static langType | Lang_ferite |
static langType | Lang_vala |
static kindDefinition | CKinds [] |
static kindDefinition | DKinds [] |
static kindDefinition | JavaKinds [] |
static kindDefinition | CsharpKinds [] |
static kindDefinition | ValaKinds [] |
static const keywordDesc | KeywordTable [] |
static unsigned int | contextual_fake_count = 0 |
static statementInfo * | CurrentStatement = NULL |
#define activeToken | ( | st | ) | ((st)->token [(int) (st)->tokenIndex]) |
#define insideEnumBody | ( | st | ) |
#define isExternCDecl | ( | st, | |
c | |||
) |
#define isOneOf | ( | c, | |
s | |||
) | (bool) (strchr ((s), (c)) != NULL) |
#define parentDecl | ( | st | ) |
typedef enum eVisibilityType accessType |
typedef enum eDeclaration declType |
typedef enum eException exception_t |
typedef enum eImplementation impType |
typedef struct sKeywordDesc keywordDesc |
typedef struct sMemberInfo memberInfo |
typedef struct sParenInfo parenInfo |
typedef struct sStatementInfo statementInfo |
typedef struct sTokenInfo tokenInfo |
typedef enum eTokenType tokenType |
enum cKind |
enum csharpKind |
enum dKind |
enum eDeclaration |
enum eException |
enum eImplementation |
enum eKeywordId |
enum eTagScope |
enum eTagType |
enum eTokenType |
enum eVisibilityType |
enum javaKind |
enum valaKind |
|
static |
Definition at line 1146 of file geany_c.c.
References sMemberInfo::access, ACCESS_UNDEFINED, accessString(), isInputLanguage(), Lang_cpp, Lang_d, Lang_ferite, sStatementInfo::member, NULL, sStatementInfo::scope, and SCOPE_FRIEND.
Referenced by addOtherFields().
|
static |
Definition at line 652 of file geany_c.c.
References ACCESS_COUNT, ARRAY_SIZE, and Assert.
Referenced by accessField().
|
static |
Definition at line 2619 of file geany_c.c.
References sStatementInfo::context, isInputLanguage(), isType, Lang_c, Lang_cpp, Lang_csharp, Lang_d, Lang_ferite, Lang_java, Lang_vala, TOKEN_NAME, tokenInfo::type, vStringCat(), vStringCatS(), and vStringLength.
Referenced by createTags().
|
static |
Definition at line 1321 of file geany_c.c.
References isInputLanguage(), Lang_c, Lang_cpp, Lang_csharp, Lang_d, Lang_ferite, Lang_java, Lang_vala, scope, and vStringCatS().
Referenced by findScopeHierarchy(), and makeExtraTagEntry().
|
static |
Definition at line 1158 of file geany_c.c.
References sTagEntryInfo::access, accessField(), sStatementInfo::context, cppGetSignature(), DECL_NAMESPACE, sStatementInfo::declaration, declToTagType(), sTagEntryInfo::extensionFields, sStatementInfo::firstToken, getVarType(), sStatementInfo::gotArgs, IMP_DEFAULT, sTagEntryInfo::implementation, sStatementInfo::implementation, implementationString(), sTagEntryInfo::inheritance, isDataTypeKeyword(), isInputLanguage(), isMember(), isType, kindIndexForType(), Lang_cpp, Lang_csharp, Lang_d, Lang_ferite, Lang_java, Lang_vala, sTagEntryInfo::name, sStatementInfo::parent, sStatementInfo::parentClasses, parentDecl, scope, sTagEntryInfo::scopeKindIndex, sTagEntryInfo::scopeName, sTagEntryInfo::signature, TAG_CLASS, TAG_ENUM, TAG_ENUMERATOR, TAG_EXTERN_VAR, TAG_FIELD, TAG_FUNCTION, TAG_INTERFACE, TAG_MEMBER, TAG_METHOD, TAG_NAMESPACE, TAG_PROTOTYPE, TAG_STRUCT, TAG_TYPEDEF, TAG_UNION, TAG_VARIABLE, TOKEN_NAME, tokenInfo::type, sTagEntryInfo::typeRef, vStringLength, and vStringValue.
Referenced by makeTag().
|
static |
Definition at line 1958 of file geany_c.c.
References sStatementInfo::parentClasses, vStringCat(), vStringLength, and vStringPut().
Referenced by readParents().
|
static |
Definition at line 600 of file geany_c.c.
References initToken(), NumTokens, sStatementInfo::token, and sStatementInfo::tokenIndex.
Referenced by analyzeParens(), checkStatementEnd(), createTags(), nest(), and tagCheck().
|
static |
Definition at line 1722 of file geany_c.c.
References analyzeKeyword(), cppIsIgnoreToken(), initToken(), isInputLanguage(), tokenInfo::keyword, KEYWORD_NONE, Lang_java, name, NULL, skipToMatch(), skipToNonWhite(), TOKEN_KEYWORD, TOKEN_NAME, tokenInfo::type, and vStringValue.
Referenced by readIdentifier().
|
static |
Definition at line 1709 of file geany_c.c.
References getInputLanguage(), isInputLanguage(), KEYWORD_CONST, KEYWORD_NONE, Lang_d, Lang_java, lookupKeyword(), name, and skipParens().
Referenced by analyzeIdentifier().
|
static |
Definition at line 2569 of file geany_c.c.
References activeToken, advanceToken(), analyzePostParens(), sStatementInfo::blockName, copyToken(), cppUngetc(), DECL_FUNCTION_TEMPLATE, DECL_NONE, sStatementInfo::declaration, sStatementInfo::gotArgs, sStatementInfo::gotParenName, sStatementInfo::haveQualifyingName, IMP_VIRTUAL, sStatementInfo::implementation, initParenInfo(), sParenInfo::invalidContents, isInputLanguage(), sParenInfo::isNameCandidate, isOneOf, sParenInfo::isParamList, isType, Lang_d, parseParens(), prevToken(), processName(), reinitStatement(), setToken(), skipToNonWhite(), TOKEN_ARGS, TOKEN_NAME, TOKEN_NONE, TOKEN_PAREN_NAME, and tokenInfo::type.
Referenced by nextToken().
|
static |
Definition at line 2376 of file geany_c.c.
References cppUngetc(), Exception, ExceptionFormattingError, getInputFileName(), getInputLineNumber(), isInputLanguage(), isOneOf, Lang_java, Lang_vala, skipJavaThrows(), skipPostArgumentStuff(), skipToNonWhite(), skipValaPostParens(), and verbose().
Referenced by analyzeParens().
|
static |
Definition at line 3156 of file geany_c.c.
References addKeyword(), ARRAY_SIZE, count, sKeywordDesc::id, sKeywordDesc::isValid, KeywordTable, and sKeywordDesc::name.
Referenced by initializeCParser(), initializeCppParser(), initializeCsharpParser(), initializeDParser(), initializeFeriteParser(), initializeGLSLParser(), initializeJavaParser(), and initializeValaParser().
|
static |
Definition at line 2003 of file geany_c.c.
References DECL_ENUM, sStatementInfo::declaration, isInputLanguage(), and Lang_cpp.
Referenced by processToken().
|
static |
Definition at line 2897 of file geany_c.c.
References activeToken, advanceToken(), cppBeginStatement(), cppEndStatement(), DEBUG_PARSE, DebugStatement, isStatementEnd(), isType, reinitStatementWithToken(), and TOKEN_COMMA.
Referenced by createTags().
Definition at line 1917 of file geany_c.c.
References tokenInfo::filePosition, tokenInfo::keyword, tokenInfo::lineNumber, tokenInfo::type, and vStringCopy().
Referenced by analyzeParens(), initStatement(), nextToken(), reinitStatementWithToken(), restartStatement(), and tagCheck().
parserDefinition * CParser | ( | void | ) |
Definition at line 3237 of file geany_c.c.
References ARRAY_SIZE, CKinds, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeCParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
parserDefinition * CppParser | ( | void | ) |
Definition at line 3249 of file geany_c.c.
References ARRAY_SIZE, CKinds, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeCppParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
|
static |
Definition at line 3084 of file geany_c.c.
References activeToken, addContext(), advanceToken(), checkStatementEnd(), debugParseNest(), DebugStatement, deleteStatement(), Exception, ExceptionBraceFormattingError, getInputFileName(), getInputLineNumber(), isType, nest(), newStatement(), nextToken(), prevToken(), tagCheck(), TOKEN_BRACE_CLOSE, TOKEN_BRACE_OPEN, TOKEN_DOUBLE_COLON, and verbose().
Referenced by findCTags(), and nest().
parserDefinition * CsharpParser | ( | void | ) |
Definition at line 3316 of file geany_c.c.
References ARRAY_SIZE, CsharpKinds, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeCsharpParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
|
static |
Definition at line 1009 of file geany_c.c.
References Assert, CSK_CLASS, CSK_ENUMERATION, CSK_ENUMERATOR, CSK_EVENT, CSK_FIELD, CSK_INTERFACE, CSK_LOCAL, CSK_METHOD, CSK_NAMESPACE, CSK_PROPERTY, CSK_STRUCT, CSK_TYPEDEF, CSK_UNDEFINED, NULL, TAG_CLASS, TAG_ENUM, TAG_ENUMERATOR, TAG_EVENT, TAG_FIELD, TAG_INTERFACE, TAG_LOCAL, TAG_METHOD, TAG_NAMESPACE, TAG_PROPERTY, TAG_STRUCT, and TAG_TYPEDEF.
Referenced by kindIndexForType().
Definition at line 986 of file geany_c.c.
References Assert, CK_CLASS, CK_ENUMERATION, CK_ENUMERATOR, CK_EXTERN_VARIABLE, CK_FUNCTION, CK_MEMBER, CK_NAMESPACE, CK_PROTOTYPE, CK_STRUCT, CK_TYPEDEF, CK_UNDEFINED, CK_UNION, CK_VARIABLE, NULL, TAG_CLASS, TAG_ENUM, TAG_ENUMERATOR, TAG_EXTERN_VAR, TAG_FUNCTION, TAG_MEMBER, TAG_NAMESPACE, TAG_PROTOTYPE, TAG_STRUCT, TAG_TYPEDEF, TAG_UNION, and TAG_VARIABLE.
Referenced by kindIndexForType().
Definition at line 1126 of file geany_c.c.
References Assert, DECL_CLASS, DECL_ENUM, DECL_FUNCTION, DECL_FUNCTION_TEMPLATE, DECL_INTERFACE, DECL_NAMESPACE, DECL_STRUCT, DECL_UNION, NULL, TAG_CLASS, TAG_ENUM, TAG_FUNCTION, TAG_INTERFACE, TAG_NAMESPACE, TAG_STRUCT, TAG_UNDEFINED, and TAG_UNION.
Referenced by addOtherFields(), and qualifyCompoundTag().
|
static |
Definition at line 2871 of file geany_c.c.
References CurrentStatement, deleteStatement(), and NULL.
Referenced by findCTags().
|
static |
Definition at line 2853 of file geany_c.c.
References sStatementInfo::blockName, sStatementInfo::context, CurrentStatement, deleteToken(), eFree(), sStatementInfo::firstToken, NULL, NumTokens, sStatementInfo::parent, sStatementInfo::parentClasses, sStatementInfo::token, and vStringDelete().
Referenced by createTags(), and deleteAllStatements().
|
static |
Definition at line 643 of file geany_c.c.
References eFree(), NULL, and vStringDelete().
Referenced by deleteStatement(), readParents(), reinitStatementWithToken(), restartStatement(), and tagCheck().
|
static |
Definition at line 1945 of file geany_c.c.
References cppIsident1, cppUngetc(), readIdentifier(), and skipToNonWhite().
Referenced by processToken().
parserDefinition * DParser | ( | void | ) |
Definition at line 3280 of file geany_c.c.
References ARRAY_SIZE, DKinds, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeDParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
Definition at line 1032 of file geany_c.c.
References Assert, DK_CLASS, DK_ENUMERATION, DK_ENUMERATOR, DK_EXTERN_VARIABLE, DK_FUNCTION, DK_INTERFACE, DK_MEMBER, DK_NAMESPACE, DK_PROTOTYPE, DK_STRUCT, DK_TYPEDEF, DK_UNDEFINED, DK_UNION, DK_VARIABLE, NULL, TAG_CLASS, TAG_ENUM, TAG_ENUMERATOR, TAG_EXTERN_VAR, TAG_FUNCTION, TAG_INTERFACE, TAG_MEMBER, TAG_NAMESPACE, TAG_PROTOTYPE, TAG_STRUCT, TAG_TYPEDEF, TAG_UNION, and TAG_VARIABLE.
Referenced by kindIndexForType().
parserDefinition * FeriteParser | ( | void | ) |
Definition at line 3304 of file geany_c.c.
References ARRAY_SIZE, CKinds, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeFeriteParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
|
static |
Definition at line 3124 of file geany_c.c.
References Assert, CK_DEFINE, contextual_fake_count, cppInit(), cppTerminate(), createTags(), deleteAllStatements(), Exception, ExceptionBraceFormattingError, ExceptionNone, getInputFileName(), isInputLanguage(), Lang_cpp, Lang_csharp, NULL, RESCAN_FAILED, RESCAN_NONE, and verbose().
Referenced by CParser(), CppParser(), CsharpParser(), DParser(), FeriteParser(), GLSLParser(), JavaParser(), and ValaParser().
|
static |
Definition at line 1330 of file geany_c.c.
References addContextSeparator(), sStatementInfo::blockName, sStatementInfo::context, DECL_NAMESPACE, sStatementInfo::declaration, isContextualStatement(), isType, NULL, sStatementInfo::parent, TOKEN_NAME, vStringCat(), vStringClear, vStringCopy(), vStringCopyS(), vStringDelete(), vStringLength, and vStringNew().
Referenced by makeTag().
|
static |
Definition at line 1232 of file geany_c.c.
References DECL_BASE, DECL_FUNCTION, DECL_FUNCTION_TEMPLATE, sStatementInfo::declaration, sStatementInfo::firstToken, sStatementInfo::gotArgs, isDataTypeKeyword(), tokenInfo::keyword, KEYWORD_EXTERN, KEYWORD_FINAL, KEYWORD_IF, KEYWORD_PRIVATE, KEYWORD_PROTECTED, KEYWORD_PUBLIC, KEYWORD_STATIC, KEYWORD_TYPEDEF, tokenInfo::lineNumber, NULL, sStatementInfo::token, TOKEN_ARRAY, TOKEN_DOUBLE_COLON, TOKEN_KEYWORD, TOKEN_NAME, TOKEN_STAR, sStatementInfo::tokenIndex, tokenInfo::type, vStringCat(), vStringCatS(), vStringClear, vStringLength, vStringNew(), vStringPut(), and vStringValue.
Referenced by addOtherFields().
parserDefinition * GLSLParser | ( | void | ) |
Definition at line 3292 of file geany_c.c.
References ARRAY_SIZE, CKinds, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeGLSLParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
|
static |
Definition at line 662 of file geany_c.c.
References ARRAY_SIZE, Assert, and IMP_COUNT.
Referenced by addOtherFields().
|
static |
Definition at line 2637 of file geany_c.c.
References DECL_CLASS, DECL_ENUM, DECL_INTERFACE, DECL_STRUCT, isInputLanguage(), Lang_cpp, Lang_csharp, and Lang_d.
Referenced by processColon().
|
static |
Definition at line 3168 of file geany_c.c.
References buildKeywordHash(), and Lang_c.
Referenced by CParser().
|
static |
Definition at line 3174 of file geany_c.c.
References buildKeywordHash(), and Lang_cpp.
Referenced by CppParser().
|
static |
Definition at line 3220 of file geany_c.c.
References buildKeywordHash(), and Lang_csharp.
Referenced by CsharpParser().
|
static |
Definition at line 3186 of file geany_c.c.
References addKeyword(), buildKeywordHash(), KEYWORD_BODY, KEYWORD_CONST, KEYWORD_IF, KEYWORD_NAMESPACE, KEYWORD_TYPEDEF, Lang_d, and NULL.
Referenced by DParser().
|
static |
Definition at line 3214 of file geany_c.c.
References buildKeywordHash(), and Lang_ferite.
Referenced by FeriteParser().
|
static |
Definition at line 3208 of file geany_c.c.
References buildKeywordHash(), and Lang_glsl.
Referenced by GLSLParser().
|
static |
Definition at line 3180 of file geany_c.c.
References buildKeywordHash(), and Lang_java.
Referenced by JavaParser().
|
static |
Definition at line 3226 of file geany_c.c.
References addKeyword(), buildKeywordHash(), KEYWORD_ATTRIBUTE, KEYWORD_ENUM, and Lang_vala.
Referenced by ValaParser().
|
static |
Definition at line 883 of file geany_c.c.
References sMemberInfo::access, ACCESS_DEFAULT, ACCESS_PRIVATE, ACCESS_PUBLIC, ACCESS_UNDEFINED, sMemberInfo::accessDefault, DECL_CLASS, DECL_ENUM, DECL_INTERFACE, DECL_NAMESPACE, DECL_STRUCT, DECL_UNION, sStatementInfo::declaration, isInputLanguage(), Lang_java, sStatementInfo::member, NULL, and sStatementInfo::parent.
Referenced by initStatement().
|
static |
Definition at line 2559 of file geany_c.c.
References sParenInfo::invalidContents, sParenInfo::isKnrParamList, sParenInfo::isNameCandidate, sParenInfo::isParamList, sParenInfo::nestedArgs, and sParenInfo::parameterCount.
Referenced by analyzeParens().
|
static |
Definition at line 969 of file geany_c.c.
References activeToken, copyToken(), initMemberInfo(), sStatementInfo::parent, reinitStatement(), and sStatementInfo::tokenIndex.
Referenced by newStatement().
|
static |
Definition at line 591 of file geany_c.c.
References tokenInfo::filePosition, getInputFilePosition(), getInputLineNumber(), tokenInfo::keyword, KEYWORD_NONE, tokenInfo::lineNumber, TOKEN_NONE, tokenInfo::type, and vStringClear.
Referenced by advanceToken(), analyzeIdentifier(), newToken(), parseGeneralToken(), parseParens(), processToken(), readIdentifier(), readPackageName(), readParents(), reinitStatement(), and setToken().
|
static |
Definition at line 811 of file geany_c.c.
References tokenInfo::keyword, KEYWORD_CLASS, KEYWORD_ENUM, KEYWORD_INTERFACE, KEYWORD_NAMESPACE, KEYWORD_STRUCT, and KEYWORD_UNION.
Referenced by tagCheck().
|
static |
Definition at line 836 of file geany_c.c.
References DECL_CLASS, DECL_ENUM, DECL_INTERFACE, DECL_NAMESPACE, DECL_STRUCT, DECL_UNION, sStatementInfo::declaration, isInputLanguage(), Lang_vala, and NULL.
Referenced by findScopeHierarchy(), isMember(), isStatementEnd(), reinitStatement(), and tagCheck().
|
static |
Definition at line 771 of file geany_c.c.
References tokenInfo::keyword, KEYWORD_BOOLEAN, KEYWORD_BYTE, KEYWORD_CHAR, KEYWORD_DOUBLE, KEYWORD_FLOAT, KEYWORD_INT, KEYWORD_LONG, KEYWORD_SHORT, KEYWORD_SIZE_T, KEYWORD_VOID, and KEYWORD_WCHAR_T.
Referenced by addOtherFields(), getVarType(), and nextToken().
|
static |
Definition at line 2163 of file geany_c.c.
References tokenInfo::keyword, KEYWORD_BODY, KEYWORD_CONST, KEYWORD_IF, KEYWORD_IN, KEYWORD_OUT, and vStringValue.
Referenced by skipPostArgumentStuff().
|
static |
Definition at line 873 of file geany_c.c.
References sStatementInfo::context, isContextualStatement(), isType, sStatementInfo::parent, and TOKEN_NAME.
Referenced by addOtherFields(), qualifyFunctionTag(), qualifyVariableTag(), and setAccess().
|
static |
Definition at line 2877 of file geany_c.c.
References activeToken, isContextualStatement(), isInputLanguage(), isType, Lang_csharp, Lang_d, Lang_java, Lang_vala, TOKEN_BRACE_CLOSE, and TOKEN_SEMICOLON.
Referenced by checkStatementEnd().
|
static |
Definition at line 1459 of file geany_c.c.
References DECL_BASE, DECL_CLASS, DECL_ENUM, DECL_STRUCT, and DECL_UNION.
Referenced by qualifyFunctionDeclTag(), and qualifyVariableTag().
parserDefinition * JavaParser | ( | void | ) |
Definition at line 3268 of file geany_c.c.
References ARRAY_SIZE, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeJavaParser(), JavaKinds, sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, and parserNew().
Definition at line 1078 of file geany_c.c.
References Assert, JK_CLASS, JK_ENUMERATION, JK_ENUMERATOR, JK_FIELD, JK_INTERFACE, JK_METHOD, JK_PACKAGE, JK_UNDEFINED, NULL, TAG_CLASS, TAG_ENUM, TAG_ENUMERATOR, TAG_FIELD, TAG_INTERFACE, TAG_METHOD, and TAG_PACKAGE.
Referenced by kindIndexForType().
|
static |
Definition at line 1096 of file geany_c.c.
References csharpTagKind(), cTagKind(), dTagKind(), isInputLanguage(), javaTagKind(), Lang_csharp, Lang_d, Lang_java, Lang_vala, and valaTagKind().
Referenced by addOtherFields(), and makeTag().
|
static |
Definition at line 1379 of file geany_c.c.
References addContextSeparator(), isXtagEnabled(), makeTagEntry(), sTagEntryInfo::name, NULL, scope, TAG_ENUMERATOR, vStringCatS(), vStringCopy(), vStringDelete(), vStringLength, vStringNCopy(), vStringNew(), vStringValue, and XTAG_QUALIFIED_TAGS.
Referenced by makeTag().
|
static |
Definition at line 1412 of file geany_c.c.
References addOtherFields(), sTagEntryInfo::extensionFields, sTagEntryInfo::filePosition, tokenInfo::filePosition, findScopeHierarchy(), sStatementInfo::firstToken, initTagEntry(), sTagEntryInfo::isFileScope, isFileScope(), isInputHeaderFile(), isInputLanguage(), isType, kindIndexForType(), Lang_ferite, sTagEntryInfo::lineNumber, tokenInfo::lineNumber, makeExtraTagEntry(), makeTagEntry(), NULL, scope, sTagEntryInfo::signature, TAG_FUNCTION, TOKEN_NAME, vStringDelete(), vStringLength, vStringNew(), and vStringValue.
Referenced by qualifyCompoundTag(), qualifyEnumeratorTag(), qualifyFunctionDeclTag(), qualifyFunctionTag(), qualifyVariableTag(), and tagCheck().
|
static |
Definition at line 2916 of file geany_c.c.
References advanceToken(), createTags(), DECL_CLASS, DECL_ENUM, DECL_INTERFACE, DECL_NAMESPACE, DECL_NOMANGLE, DECL_STRUCT, DECL_UNION, sStatementInfo::declaration, setToken(), skipToMatch(), and TOKEN_BRACE_CLOSE.
Referenced by createTags(), parse_branch(), parse_expression(), parse_reg_exp(), and parse_sub_exp().
|
static |
Definition at line 2834 of file geany_c.c.
References sStatementInfo::blockName, sStatementInfo::context, CurrentStatement, sStatementInfo::firstToken, initStatement(), newToken(), NumTokens, sStatementInfo::parentClasses, sStatementInfo::token, vStringNew(), and xMalloc.
Referenced by createTags(), findVerilogTags(), and findVhdlTags().
|
static |
Definition at line 635 of file geany_c.c.
References initToken(), vStringNew(), and xMalloc.
Referenced by newStatement(), readParents(), reinitStatementWithToken(), restartStatement(), and tagCheck().
|
static |
Definition at line 2787 of file geany_c.c.
References activeToken, analyzeParens(), copyToken(), Exception, ExceptionEOF, sStatementInfo::firstToken, isDataTypeKeyword(), isInputLanguage(), isType, Lang_vala, sStatementInfo::nSemicolons, sStatementInfo::parent, parseGeneralToken(), processColon(), processInitializer(), setToken(), skipToMatch(), skipToNonWhite(), TOKEN_ARRAY, TOKEN_BRACE_CLOSE, TOKEN_BRACE_OPEN, TOKEN_COMMA, TOKEN_NAME, TOKEN_NONE, TOKEN_SEMICOLON, TOKEN_STAR, and tokenInfo::type.
Referenced by createTags().
|
static |
Definition at line 2764 of file geany_c.c.
References activeToken, sStatementInfo::context, cppIsident1, DECL_NOMANGLE, sStatementInfo::declaration, initToken(), isExternCDecl, isType, parseIdentifier(), prevToken(), sStatementInfo::scope, SCOPE_GLOBAL, and TOKEN_NAME.
Referenced by nextToken().
|
static |
Definition at line 2755 of file geany_c.c.
References activeToken, isType, processToken(), readIdentifier(), and TOKEN_NONE.
Referenced by parseGeneralToken().
|
static |
Definition at line 2400 of file geany_c.c.
References activeToken, cppIsident1, cppStartCollectingSignature(), cppStopCollectingSignature(), cppUngetc(), initToken(), sParenInfo::invalidContents, isInputLanguage(), sParenInfo::isKnrParamList, sParenInfo::isNameCandidate, sParenInfo::isParamList, isType, Lang_d, sParenInfo::nestedArgs, nextChar(), sParenInfo::parameterCount, readIdentifier(), skipMacro(), skipToMatch(), skipToNonWhite(), TOKEN_KEYWORD, TOKEN_NAME, TOKEN_PAREN_NAME, and tokenInfo::type.
Referenced by analyzeParens().
|
static |
Definition at line 609 of file geany_c.c.
References Assert, NumTokens, sStatementInfo::token, and sStatementInfo::tokenIndex.
Referenced by analyzeParens(), createTags(), parseGeneralToken(), processColon(), readOperator(), setAccess(), skipMacro(), and tagCheck().
|
static |
Definition at line 2651 of file geany_c.c.
References cppGetc(), cppUngetc(), DECL_CLASS, DECL_STRUCT, sStatementInfo::declaration, sStatementInfo::haveQualifyingName, inheritingDeclaration(), isInputLanguage(), tokenInfo::keyword, KEYWORD_CASE, KEYWORD_DEFAULT, Lang_cpp, Lang_csharp, Lang_d, Lang_vala, NULL, sStatementInfo::parent, parentDecl, prevToken(), readParents(), reinitStatement(), setToken(), skipToOneOf(), TOKEN_COMMA, TOKEN_DOUBLE_COLON, and TOKEN_SEMICOLON.
Referenced by nextToken().
|
static |
Definition at line 2737 of file geany_c.c.
References cppUngetc(), insideEnumBody, sStatementInfo::scope, SCOPE_EXTERN, SCOPE_GLOBAL, setToken(), skipInitializer(), TOKEN_COMMA, and TOKEN_SEMICOLON.
Referenced by nextToken().
|
static |
Definition at line 1839 of file geany_c.c.
References activeToken, Assert, DECL_BASE, DECL_NONE, sStatementInfo::declaration, sStatementInfo::gotName, sStatementInfo::haveQualifyingName, isType, and TOKEN_NAME.
Referenced by analyzeParens(), processToken(), and readOperator().
|
static |
Definition at line 2009 of file geany_c.c.
References ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC, checkIsClassEnum(), DECL_BASE, DECL_CLASS, DECL_ENUM, DECL_EVENT, DECL_IGNORE, DECL_INTERFACE, DECL_NAMESPACE, DECL_PACKAGE, DECL_SIGNAL, DECL_STRUCT, DECL_UNION, sStatementInfo::declaration, discardTypeList(), sStatementInfo::gotName, IMP_ABSTRACT, IMP_VIRTUAL, sStatementInfo::implementation, initToken(), isInputLanguage(), tokenInfo::keyword, KEYWORD_ABSTRACT, KEYWORD_ATTRIBUTE, KEYWORD_BOOLEAN, KEYWORD_CATCH, KEYWORD_CHAR, KEYWORD_CLASS, KEYWORD_CONST, KEYWORD_DOUBLE, KEYWORD_ENUM, KEYWORD_EVENT, KEYWORD_EXTENDS, KEYWORD_EXTERN, KEYWORD_FLOAT, KEYWORD_FRIEND, KEYWORD_IF, KEYWORD_IMPLEMENTS, KEYWORD_IMPORT, KEYWORD_INT, KEYWORD_INTERFACE, KEYWORD_LONG, KEYWORD_MODULE, KEYWORD_NAMESPACE, KEYWORD_NONE, KEYWORD_OPERATOR, KEYWORD_PACKAGE, KEYWORD_PRIVATE, KEYWORD_PROTECTED, KEYWORD_PUBLIC, KEYWORD_SHORT, KEYWORD_SIGNAL, KEYWORD_SIGNED, KEYWORD_SIZE_T, KEYWORD_STATIC, KEYWORD_STATIC_ASSERT, KEYWORD_STRUCT, KEYWORD_THROWS, KEYWORD_TYPEDEF, KEYWORD_UNION, KEYWORD_UNSIGNED, KEYWORD_USING, KEYWORD_VIRTUAL, KEYWORD_VOID, KEYWORD_VOLATILE, KEYWORD_WCHAR_T, Lang_csharp, Lang_d, Lang_java, Lang_vala, processName(), readOperator(), readPackage(), readPackageOrNamespace(), readParents(), sStatementInfo::scope, SCOPE_EXTERN, SCOPE_FRIEND, SCOPE_STATIC, SCOPE_TYPEDEF, setAccess(), setToken(), skipBraces(), skipParens(), skipToMatch(), skipToNonWhite(), and TOKEN_NONE.
Referenced by parseIdentifier(), and restartStatement().
|
static |
Definition at line 1529 of file geany_c.c.
References DECL_CLASS, DECL_ENUM, DECL_INTERFACE, DECL_NAMESPACE, DECL_STRUCT, DECL_UNION, sStatementInfo::declaration, and qualifyCompoundTag().
Referenced by tagCheck().
|
static |
Definition at line 1515 of file geany_c.c.
References sStatementInfo::declaration, declToTagType(), isInputLanguage(), isType, Lang_csharp, Lang_java, Lang_vala, makeTag(), TAG_UNDEFINED, and TOKEN_NAME.
Referenced by qualifyBlockTag().
|
static |
Definition at line 1479 of file geany_c.c.
References isType, makeTag(), TAG_ENUMERATOR, and TOKEN_NAME.
Referenced by tagCheck().
|
static |
Definition at line 1501 of file geany_c.c.
References sStatementInfo::declaration, isInputLanguage(), isType, isValidTypeSpecifier(), Lang_csharp, Lang_java, Lang_vala, makeTag(), qualifyFunctionTag(), sStatementInfo::scope, SCOPE_TYPEDEF, TAG_PROTOTYPE, TAG_TYPEDEF, and TOKEN_NAME.
Referenced by tagCheck().
|
static |
Definition at line 1486 of file geany_c.c.
References sMemberInfo::access, ACCESS_PRIVATE, isFileScope(), isInputLanguage(), isMember(), isType, Lang_csharp, Lang_java, Lang_vala, makeTag(), sStatementInfo::member, sStatementInfo::scope, SCOPE_STATIC, TAG_FUNCTION, TAG_METHOD, and TOKEN_NAME.
Referenced by qualifyFunctionDeclTag(), and tagCheck().
|
static |
Definition at line 1546 of file geany_c.c.
References sMemberInfo::access, ACCESS_PRIVATE, DECL_IGNORE, DECL_MODULE, DECL_PACKAGE, sStatementInfo::declaration, sStatementInfo::haveQualifyingName, isInputLanguage(), isMember(), isType, isValidTypeSpecifier(), Lang_csharp, Lang_java, Lang_vala, makeTag(), sStatementInfo::member, sStatementInfo::scope, SCOPE_EXTERN, SCOPE_GLOBAL, SCOPE_STATIC, SCOPE_TYPEDEF, TAG_EXTERN_VAR, TAG_FIELD, TAG_MEMBER, TAG_NAMESPACE, TAG_PACKAGE, TAG_TYPEDEF, TAG_VARIABLE, and TOKEN_NAME.
Referenced by tagCheck().
|
static |
Definition at line 1754 of file geany_c.c.
References analyzeIdentifier(), cppGetc(), cppIsident, cppUngetc(), initToken(), isInputLanguage(), Lang_cpp, Lang_vala, name, skipToNonWhite(), and vStringPut().
Referenced by discardTypeList(), parseIdentifier(), parseParens(), readParents(), skipJavaThrows(), skipMemIntializerList(), skipPostArgumentStuff(), and skipValaPostParens().
|
static |
Definition at line 1848 of file geany_c.c.
References activeToken, cppGetc(), cppIsident1, cppUngetc(), isOneOf, isType, tokenInfo::keyword, KEYWORD_ENUM, KEYWORD_NONE, KEYWORD_STRUCT, KEYWORD_UNION, name, prevToken(), processName(), skipToMatch(), skipToNonWhite(), TOKEN_KEYWORD, TOKEN_NAME, tokenInfo::type, vStringCatS(), and vStringPut().
Referenced by processToken().
|
static |
Definition at line 1825 of file geany_c.c.
References activeToken, Assert, DECL_MODULE, DECL_PACKAGE, sStatementInfo::declaration, sStatementInfo::gotName, sStatementInfo::haveQualifyingName, isInputLanguage(), isType, Lang_d, readPackageName(), skipToNonWhite(), TOKEN_KEYWORD, TOKEN_NAME, and tokenInfo::type.
Referenced by processToken().
|
static |
Definition at line 1789 of file geany_c.c.
References cppGetc(), cppIsident, cppUngetc(), initToken(), name, and vStringPut().
Referenced by readPackage(), and readPackageOrNamespace().
|
static |
Definition at line 1804 of file geany_c.c.
References activeToken, Assert, DECL_NAMESPACE, sStatementInfo::declaration, sStatementInfo::gotName, sStatementInfo::haveQualifyingName, isInputLanguage(), isType, Lang_csharp, Lang_vala, readPackageName(), skipToNonWhite(), TOKEN_KEYWORD, TOKEN_NAME, and tokenInfo::type.
Referenced by processToken().
|
static |
Definition at line 1968 of file geany_c.c.
References addParentClass(), cppIsident1, cppUngetc(), deleteToken(), initToken(), isType, newToken(), readIdentifier(), skipToMatch(), skipToNonWhite(), TOKEN_NAME, vStringCat(), and vStringPut().
Referenced by processColon(), and processToken().
|
static |
Definition at line 917 of file geany_c.c.
References sMemberInfo::access, sMemberInfo::accessDefault, sStatementInfo::blockName, sStatementInfo::context, cppClearSignature(), DECL_BASE, DECL_NONE, sStatementInfo::declaration, sStatementInfo::firstToken, sStatementInfo::gotArgs, sStatementInfo::gotName, sStatementInfo::gotParenName, sStatementInfo::haveQualifyingName, IMP_DEFAULT, sStatementInfo::implementation, initToken(), isContextualStatement(), sStatementInfo::member, sStatementInfo::nSemicolons, NumTokens, sStatementInfo::parent, sStatementInfo::parentClasses, sStatementInfo::scope, SCOPE_GLOBAL, sStatementInfo::token, sStatementInfo::tokenIndex, and vStringClear.
Referenced by analyzeParens(), initStatement(), processColon(), reinitStatementWithToken(), and restartStatement().
|
static |
Definition at line 956 of file geany_c.c.
References activeToken, copyToken(), deleteToken(), newToken(), reinitStatement(), save, and sStatementInfo::tokenIndex.
Referenced by checkStatementEnd(), and setAccess().
|
static |
Definition at line 2104 of file geany_c.c.
References activeToken, copyToken(), DEBUG_PARSE, DebugStatement, deleteToken(), newToken(), processToken(), reinitStatement(), and save.
Referenced by skipPostArgumentStuff().
|
static |
Definition at line 626 of file geany_c.c.
References NumTokens, setToken(), TOKEN_NONE, and sStatementInfo::tokenIndex.
Referenced by skipMacro().
|
static |
Definition at line 1926 of file geany_c.c.
References sMemberInfo::access, sMemberInfo::accessDefault, cppUngetc(), isInputLanguage(), isMember(), Lang_cpp, Lang_d, Lang_ferite, sStatementInfo::member, prevToken(), reinitStatementWithToken(), and skipToNonWhite().
Referenced by processToken().
|
static |
Definition at line 618 of file geany_c.c.
References activeToken, initToken(), and tokenInfo::type.
Referenced by analyzeParens(), nest(), nextToken(), processColon(), processInitializer(), processToken(), retardToken(), skipJavaThrows(), skipPostArgumentStuff(), and skipValaPostParens().
|
static |
Definition at line 1699 of file geany_c.c.
References cppUngetc(), skipToMatch(), and skipToNonWhite().
Referenced by processToken().
|
static |
Definition at line 2695 of file geany_c.c.
References cppIsBraceFormat(), Exception, ExceptionBraceFormattingError, ExceptionFormattingError, getInputFileName(), getInputLineNumber(), IMP_PURE_VIRTUAL, IMP_VIRTUAL, sStatementInfo::implementation, insideEnumBody, skipToMatch(), skipToNonWhite(), and verbose().
Referenced by processInitializer().
|
static |
Definition at line 2318 of file geany_c.c.
References activeToken, cppIsident1, cppUngetc(), tokenInfo::keyword, KEYWORD_THROWS, readIdentifier(), setToken(), skipToNonWhite(), and TOKEN_NONE.
Referenced by analyzePostParens().
|
static |
Definition at line 2154 of file geany_c.c.
References isType, prevToken(), retardToken(), skipToMatch(), and TOKEN_NAME.
Referenced by parseParens().
|
static |
Definition at line 2127 of file geany_c.c.
References cppIsident1, cppUngetc(), readIdentifier(), skipToMatch(), and skipToNonWhite().
Referenced by skipPostArgumentStuff().
|
static |
Definition at line 1689 of file geany_c.c.
References cppUngetc(), skipToMatch(), and skipToNonWhite().
Referenced by analyzeKeyword(), processToken(), skipPostArgumentStuff(), and skipValaPostParens().
|
static |
Definition at line 2201 of file geany_c.c.
References activeToken, cppIsident1, cppUngetc(), isDPostArgumentToken(), isInputLanguage(), sParenInfo::isKnrParamList, isType, tokenInfo::keyword, KEYWORD_ATTRIBUTE, KEYWORD_CATCH, KEYWORD_CLASS, KEYWORD_CONST, KEYWORD_EXPLICIT, KEYWORD_EXTERN, KEYWORD_FRIEND, KEYWORD_INLINE, KEYWORD_MUTABLE, KEYWORD_NAMESPACE, KEYWORD_NEW, KEYWORD_NOEXCEPT, KEYWORD_OPERATOR, KEYWORD_OVERLOAD, KEYWORD_PRIVATE, KEYWORD_PROTECTED, KEYWORD_PUBLIC, KEYWORD_STATIC, KEYWORD_TEMPLATE, KEYWORD_THROW, KEYWORD_TRY, KEYWORD_TYPEDEF, KEYWORD_TYPENAME, KEYWORD_USING, KEYWORD_VIRTUAL, KEYWORD_VOLATILE, Lang_cpp, Lang_d, sParenInfo::parameterCount, readIdentifier(), restartStatement(), setToken(), skipMemIntializerList(), skipParens(), skipToMatch(), skipToNonWhite(), TOKEN_NAME, TOKEN_NONE, and vStringValue.
Referenced by analyzePostParens().
|
static |
|
static |
Definition at line 1636 of file geany_c.c.
References cppGetc(), cppGetDirectiveNestLevel(), cppIsBraceFormat(), cppUngetc(), Exception, ExceptionBraceFormattingError, ExceptionFormattingError, getInputFileName(), getInputLineNumber(), isInputLanguage(), Lang_cpp, Lang_d, skipToFormattedBraceMatch(), and verbose().
Referenced by analyzeIdentifier(), nest(), nextToken(), parseParens(), processToken(), readOperator(), readParents(), skipBraces(), skipInitializer(), skipMacro(), skipMemIntializerList(), skipParens(), and skipPostArgumentStuff().
|
static |
Definition at line 1600 of file geany_c.c.
References cppGetc().
Referenced by analyzeIdentifier(), analyzeParens(), analyzePostParens(), discardTypeList(), nextToken(), parseParens(), processToken(), readIdentifier(), readOperator(), readPackage(), readPackageOrNamespace(), readParents(), setAccess(), skipBraces(), skipInitializer(), skipJavaThrows(), skipMemIntializerList(), skipParens(), skipPostArgumentStuff(), and skipValaPostParens().
|
static |
|
static |
Definition at line 2343 of file geany_c.c.
References activeToken, cppIsident1, cppUngetc(), tokenInfo::keyword, KEYWORD_ATTRIBUTE, KEYWORD_THROWS, readIdentifier(), setToken(), skipParens(), skipToNonWhite(), and TOKEN_NONE.
Referenced by analyzePostParens().
|
static |
Definition at line 2937 of file geany_c.c.
References activeToken, advanceToken(), sStatementInfo::blockName, contextual_fake_count, copyToken(), DECL_CLASS, DECL_ENUM, DECL_FUNCTION, DECL_FUNCTION_TEMPLATE, DECL_INTERFACE, DECL_NAMESPACE, DECL_STRUCT, sStatementInfo::declaration, deleteToken(), sStatementInfo::firstToken, sStatementInfo::haveQualifyingName, insideEnumBody, isContextualKeyword(), isContextualStatement(), isInputLanguage(), isType, tokenInfo::keyword, KEYWORD_NONE, Lang_cpp, Lang_csharp, Lang_d, Lang_java, Lang_vala, makeTag(), newToken(), sStatementInfo::nSemicolons, sStatementInfo::parent, prevToken(), qualifyBlockTag(), qualifyEnumeratorTag(), qualifyFunctionDeclTag(), qualifyFunctionTag(), qualifyVariableTag(), TAG_EXTERN_VAR, TAG_FIELD, TAG_PACKAGE, TAG_PROPERTY, TOKEN_ARGS, TOKEN_ARRAY, TOKEN_BRACE_OPEN, TOKEN_COMMA, TOKEN_NAME, TOKEN_PACKAGE, TOKEN_SEMICOLON, tokenInfo::type, vStringCatS(), vStringClear, and vStringValue.
Referenced by createTags().
parserDefinition * ValaParser | ( | void | ) |
Definition at line 3328 of file geany_c.c.
References ARRAY_SIZE, sParserDefinition::extensions, findCTags(), sParserDefinition::initialize, initializeValaParser(), sParserDefinition::kindCount, sParserDefinition::kindTable, NULL, sParserDefinition::parser2, parserNew(), and ValaKinds.
Definition at line 1056 of file geany_c.c.
References Assert, NULL, TAG_CLASS, TAG_ENUM, TAG_ENUMERATOR, TAG_FIELD, TAG_INTERFACE, TAG_LOCAL, TAG_METHOD, TAG_NAMESPACE, TAG_PROPERTY, TAG_SIGNAL, TAG_STRUCT, VK_CLASS, VK_ENUMERATION, VK_ENUMERATOR, VK_FIELD, VK_INTERFACE, VK_LOCAL, VK_METHOD, VK_NAMESPACE, VK_PROPERTY, VK_SIGNAL, VK_STRUCT, and VK_UNDEFINED.
Referenced by kindIndexForType().
|
static |
Definition at line 284 of file geany_c.c.
Referenced by CParser(), CppParser(), FeriteParser(), and GLSLParser().
|
static |
Definition at line 2831 of file geany_c.c.
Referenced by findCTags(), and tagCheck().
|
static |
Definition at line 352 of file geany_c.c.
Referenced by CsharpParser().
|
static |
Definition at line 2832 of file geany_c.c.
Referenced by deleteAllStatements(), deleteStatement(), and newStatement().
|
static |
Definition at line 310 of file geany_c.c.
Referenced by DParser().
|
static |
Definition at line 263 of file geany_c.c.
Referenced by analyzePostParens(), createTags(), findCTags(), nextToken(), skipInitializer(), and skipToMatch().
|
static |
Definition at line 334 of file geany_c.c.
Referenced by JavaParser().
|
static |
Definition at line 391 of file geany_c.c.
Referenced by buildKeywordHash().
|
static |
Definition at line 265 of file geany_c.c.
Referenced by addContext(), addContextSeparator(), and initializeCParser().
|
static |
Definition at line 266 of file geany_c.c.
Referenced by accessField(), addContext(), addContextSeparator(), addOtherFields(), checkIsClassEnum(), findCTags(), inheritingDeclaration(), initializeCppParser(), processColon(), readIdentifier(), setAccess(), skipPostArgumentStuff(), skipToMatch(), and tagCheck().
|
static |
Definition at line 267 of file geany_c.c.
Referenced by addContext(), addContextSeparator(), addOtherFields(), findCTags(), inheritingDeclaration(), initializeCsharpParser(), isStatementEnd(), kindIndexForType(), processColon(), processToken(), qualifyCompoundTag(), qualifyFunctionDeclTag(), qualifyFunctionTag(), qualifyVariableTag(), readPackageOrNamespace(), and tagCheck().
|
static |
Definition at line 269 of file geany_c.c.
Referenced by accessField(), addContext(), addContextSeparator(), addOtherFields(), analyzeKeyword(), analyzeParens(), inheritingDeclaration(), initializeDParser(), isStatementEnd(), kindIndexForType(), parseParens(), processColon(), processToken(), readPackage(), setAccess(), skipPostArgumentStuff(), skipToMatch(), and tagCheck().
|
static |
Definition at line 271 of file geany_c.c.
Referenced by accessField(), addContext(), addContextSeparator(), addOtherFields(), initializeFeriteParser(), makeTag(), and setAccess().
|
static |
Definition at line 270 of file geany_c.c.
Referenced by initializeGLSLParser().
|
static |
Definition at line 268 of file geany_c.c.
Referenced by addContext(), addContextSeparator(), addOtherFields(), analyzeIdentifier(), analyzeKeyword(), analyzePostParens(), initializeJavaParser(), initMemberInfo(), isStatementEnd(), kindIndexForType(), processToken(), qualifyCompoundTag(), qualifyFunctionDeclTag(), qualifyFunctionTag(), qualifyVariableTag(), and tagCheck().
|
static |
Definition at line 272 of file geany_c.c.
Referenced by addContext(), addContextSeparator(), addOtherFields(), analyzePostParens(), initializeValaParser(), isContextualStatement(), isStatementEnd(), kindIndexForType(), nextToken(), processColon(), processToken(), qualifyCompoundTag(), qualifyFunctionDeclTag(), qualifyFunctionTag(), qualifyVariableTag(), readIdentifier(), readPackageOrNamespace(), and tagCheck().
|
static |
Definition at line 375 of file geany_c.c.
Referenced by ValaParser().