KeywordMap Class
Definition
Line
23
of
System.Lex/Keyword.cm
Constructors & Destructor
public
KeywordMap
(
const
Keyword
* keywords_)
Member Functions
public
int
GetKeywordToken
(
const
Lexeme
& lexeme)
const
Member Variables
private
Map
<
Lexeme
,
int
,
Less
<
Lexeme
>>
keywordMap
private
const
Keyword
*
keywords
Constructor& Destructor Details
KeywordMap Constructor
public
KeywordMap(
const
Keyword
* keywords_)
Definition
Line
25
of
System.Lex/Keyword.cm
Member Function Details
GetKeywordToken Member Function
public
int
GetKeywordToken(
const
Lexeme
& lexeme)
Definition
Line
36
of
System.Lex/Keyword.cm