Functions | Variables
cpp.keywords Namespace Reference

Functions

def IsBuiltinType (token)
 
def IsKeyword (token)
 

Variables

string __author__ = 'nnorwitz@google.com (Neal Norwitz)'
 
 ACCESS = set('public protected private friend'.split())
 
 ALL = TYPES | TYPE_MODIFIERS | ACCESS | CASTS | OTHERS | OTHER_TYPES | CONTROL | EXCEPTION | LOOP
 
 CASTS = set('static_cast const_cast dynamic_cast reinterpret_cast'.split())
 
 CONTROL = set('case switch default if else return goto'.split())
 
 EXCEPTION = set('try catch throw'.split())
 
 LOOP = set('while do for break continue'.split())
 
 OTHER_TYPES = set('new delete typedef struct union enum typeid typename template'.split())
 
 OTHERS = set('true false asm class namespace using explicit this operator sizeof'.split())
 
 TYPE_MODIFIERS = set('auto register const inline extern static virtual volatile mutable'.split())
 
 TYPES = set('bool char int long short double float void wchar_t unsigned signed'.split())
 

Function Documentation

◆ IsBuiltinType()

def cpp.keywords.IsBuiltinType (   token)

◆ IsKeyword()

def cpp.keywords.IsKeyword (   token)

Variable Documentation

◆ __author__

string cpp.keywords.__author__ = 'nnorwitz@google.com (Neal Norwitz)'
private

◆ ACCESS

cpp.keywords.ACCESS = set('public protected private friend'.split())

◆ ALL

cpp.keywords.ALL = TYPES | TYPE_MODIFIERS | ACCESS | CASTS | OTHERS | OTHER_TYPES | CONTROL | EXCEPTION | LOOP

◆ CASTS

cpp.keywords.CASTS = set('static_cast const_cast dynamic_cast reinterpret_cast'.split())

◆ CONTROL

cpp.keywords.CONTROL = set('case switch default if else return goto'.split())

◆ EXCEPTION

cpp.keywords.EXCEPTION = set('try catch throw'.split())

◆ LOOP

cpp.keywords.LOOP = set('while do for break continue'.split())

◆ OTHER_TYPES

cpp.keywords.OTHER_TYPES = set('new delete typedef struct union enum typeid typename template'.split())

◆ OTHERS

cpp.keywords.OTHERS = set('true false asm class namespace using explicit this operator sizeof'.split())

◆ TYPE_MODIFIERS

cpp.keywords.TYPE_MODIFIERS = set('auto register const inline extern static virtual volatile mutable'.split())

◆ TYPES

cpp.keywords.TYPES = set('bool char int long short double float void wchar_t unsigned signed'.split())


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:10