CodeSonar C++ API
[For improved navigation, enable JavaScript.]
cs_syntax_kind_defs.hpp
Go to the documentation of this file.
1 
2 /*
3  * Copyright (c) 2023, an unpublished work by CodeSecure, Inc.
4  * ALL RIGHTS RESERVED
5  *
6  * Copyright (c) 2013-2023, an unpublished work by GrammaTech, Inc.
7  * ALL RIGHTS RESERVED
8  *
9  * This software is furnished under a license and may be used and
10  * copied only in accordance with the terms of such license and the
11  * inclusion of the above copyright notice. This software or any
12  * other copies thereof may not be provided or otherwise made
13  * available to any other person. Title to and ownership of the
14  * software is retained by CodeSecure, Inc.
15  */
18 #ifdef CS_CPP_IMPL
19 const syntax_kind syntax_kind::COMMENT = syntax_kind(cs_syntax_kind_comment);
20 const syntax_kind syntax_kind::MACRO = syntax_kind(cs_syntax_kind_macro);
21 const syntax_kind syntax_kind::PREPROCESSOR = syntax_kind(cs_syntax_kind_preprocessor);
22 const syntax_kind syntax_kind::INCLUDE = syntax_kind(cs_syntax_kind_include);
23 const syntax_kind syntax_kind::KEYWORD = syntax_kind(cs_syntax_kind_keyword);
24 const syntax_kind syntax_kind::OPCODE = syntax_kind(cs_syntax_kind_opcode);
25 const syntax_kind syntax_kind::LABEL = syntax_kind(cs_syntax_kind_label);
26 const syntax_kind syntax_kind::GRAYOUT = syntax_kind(cs_syntax_kind_grayout);
27 const syntax_kind syntax_kind::STRING = syntax_kind(cs_syntax_kind_string);
28 const syntax_kind syntax_kind::INCLUDE_DIRECTIVE = syntax_kind(cs_syntax_kind_include_directive);
29 #endif
static const syntax_kind OPCODE
Assembly language opcode.
Definition: cs_syntax_kind_decls.hpp:41
static const syntax_kind GRAYOUT
Code present in the underlying source file but removed by the preprocessor for the compilation unit c...
Definition: cs_syntax_kind_decls.hpp:49
static const syntax_kind COMMENT
Code comment.
Definition: cs_syntax_kind_decls.hpp:21
static const syntax_kind INCLUDE
Preprocessor include directive.
Definition: cs_syntax_kind_decls.hpp:33
static const point_kind LABEL
Kind label.
Definition: cs_point_kind_decls.hpp:164
static const symbol_kind STRING
Kind string.
Definition: cs_symbol_kind_decls.hpp:66
static const syntax_kind PREPROCESSOR
Preprocessor directive.
Definition: cs_syntax_kind_decls.hpp:29
static const syntax_kind MACRO
Macro name.
Definition: cs_syntax_kind_decls.hpp:25
static const syntax_kind INCLUDE_DIRECTIVE
Preprocessor include directive.
Definition: cs_syntax_kind_decls.hpp:57
static const syntax_kind KEYWORD
Programming language keyword.
Definition: cs_syntax_kind_decls.hpp:37