Namespaces | Typedefs | Enumerations | Variables
wasteTypes.h File Reference

Common definitions for WASTE HMM-based tokenizer. More...

Go to the source code of this file.

Namespaces

 moot
 

Typedefs

typedef wasteScannerTypeE moot::wasteScannerType
 
typedef wasteLexerTypeE moot::wasteLexerType
 

Enumerations

enum  moot::wasteScannerTypeE {
  moot::wScanTypeEOF, moot::wScanTypeWB, moot::wScanTypeSB, moot::wScanTypeLatin,
  moot::wScanTypeGreek, moot::wScanTypeAlpha, moot::wScanTypeNewline, moot::wScanTypeSpace,
  moot::wScanTypeNumber, moot::wScanTypeRoman, moot::wScanTypeHyphen, moot::wScanTypePunct,
  moot::wScanTypeLink, moot::wScanTypeXML, moot::wScanTypeComment, moot::wScanTypePercent,
  moot::wScanTypeOther, moot::NwScanTypes
}
 
enum  moot::wasteLexerTypeE {
  moot::wLexerTypeDot, moot::wLexerTypeComma, moot::wLexerTypeHyph, moot::wLexerTypeApostrophe,
  moot::wLexerTypeQuote, moot::wLexerTypeMonetary, moot::wLexerTypePercent, moot::wLexerTypePlus,
  moot::wLexerTypeLBR, moot::wLexerTypeRBR, moot::wLexerTypeSlash, moot::wLexerTypeColon,
  moot::wLexerTypeSemicolon, moot::wLexerTypeEOS, moot::wLexerTypePunct, moot::wLexerTypeSpace,
  moot::wLexerTypeNewline, moot::wLexerTypeNumber, moot::wLexerTypeRomanCaps, moot::wLexerTypeRomanLower,
  moot::wLexerTypeAlphaLower, moot::wLexerTypeAlphaUpper, moot::wLexerTypeAlphaCaps, moot::wLexerTypeAlphaTrunc,
  moot::wLexerTypeOther, moot::NwLexerTypes
}
 

Functions

lexer re2c wrappers, from wasteLexerTypes.cc
wasteLexerTypeE moot::waste_casetype (const std::string &tok_text)
 
wasteLexerTypeE moot::waste_lexertype (const std::string &tok_text)
 

Variables

const char * moot::wasteScannerTypeNames [NwScanTypes]
 
const char * moot::wasteLexerTypeNames [NwLexerTypes]
 

waste tag attribute access

enum  moot::wasteTagAttrPosE { moot::wtap_w = 1, moot::wtap_S = 4, moot::wtap_s = 7 }
 
typedef wasteTagAttrPosE moot::wasteTagAttrPos
 
bool moot::waste_tag_attr_get (const std::string &tagstr, size_t rpos, bool mydefault=false)
 
void moot::waste_tag_attr_set (std::string &tagstr, size_t rpos, bool val)