Members | Descriptions |
---|---|
namespace rexgen |
|
class GenericError |
|
class SyntaxError |
|
struct _RexgenOptions |
Members | Descriptions |
---|---|
enum RegexType |
|
class rexgen::ClassRegex |
|
class rexgen::ClassRegexIterator |
|
class rexgen::CompoundRegex |
|
class rexgen::CompoundRegexIterator |
|
class rexgen::FastIteratorPermuter |
|
class rexgen::GroupReference |
|
class rexgen::GroupReferenceIterator |
|
class rexgen::IteratorPermuter |
|
class rexgen::IteratorState |
|
class rexgen::Quantifier |
|
class rexgen::RangeIterator |
|
class rexgen::Regex |
|
class rexgen::RegexAlternatives |
|
class rexgen::RegexAlternativesIterator |
|
class rexgen::RegexContainer |
|
class rexgen::RexgenFlexLexer |
|
class rexgen::RexgenOptions |
|
class rexgen::RexgenParsingDriver |
|
class rexgen::StreamRegex |
|
class rexgen::StreamRegexIterator |
|
class rexgen::TerminalRegex |
|
class rexgen::TerminalRegexIterator |
|
class rexgen::TopIterator |
|
struct rexgen::t_group_options |
enum
RegexType
Values | Descriptions |
---|---|
Compound | |
Alternative | |
Terminal | |
Class | |
Reference | |
Stream | |
Range |
class rexgen::ClassRegex
: public rexgen::Regex
Members | Descriptions |
---|---|
public void addCharacter (const wchar_t & ch) |
|
public void addRange (const wchar_t & a,const wchar_t & b) |
|
public inline void addRange ( CharacterClassType ct) |
|
public bool contains (const wchar_t & ch) const |
|
public inline virtual RegexType getRegexType () const |
|
public void merge (const std::shared_ptr< ClassRegex > & other) |
|
public virtual std::unique_ptr< Iterator > iterator ( IteratorState &) const |
|
public virtual std::unique_ptr< Iterator > singleIterator ( IteratorState &) const |
|
enum CharacterClassType |
|
private std::set< wchar_t > characters |
|
private std::set< CharacterClassType > ranges |
|
private void removeCharacterInstances (const wchar_t min,const wchar_t max) |
|
private void removeCharacterInstances ( CharacterClassType ct) |
|
private void minimize () |
public void
addCharacter
(const wchar_t & ch)
public void
addRange
(const wchar_t & a,const wchar_t & b)
public inline void
addRange
(
CharacterClassType
ct)
public inline virtual
RegexType
getRegexType
() const
public void
merge
(const std::shared_ptr<
ClassRegex
> & other)
public virtual std::unique_ptr< Iterator >
iterator
(
IteratorState
&) const
public virtual std::unique_ptr< Iterator >
singleIterator
(
IteratorState
&) const
enum
CharacterClassType
Values | Descriptions |
---|---|
DIGITS | |
UPPERCASE | |
LOWERCASE | |
WORDCHARACTERS | |
SPACES |
private std::set< wchar_t >
characters
private std::set<
CharacterClassType
>
ranges
private void
removeCharacterInstances
(const wchar_t min,const wchar_t max)
private void
removeCharacterInstances
(
CharacterClassType
ct)
private void
minimize
()
class rexgen::ClassRegexIterator
: public Iterator
Members | Descriptions |
---|---|
public template<> inline ClassRegexIterator (Iter begin,Iter end) |
|
public inline virtual ~ClassRegexIterator () |
|
public inline virtual void updateReferences ( IteratorState &) |
|
public inline virtual void updateAttributes ( IteratorState &) |
|
public inline void value (SimpleString * dst) const |
|
public inline bool next () |
|
public inline size_t size () const |
|
public inline bool hasNext () const |
|
public inline bool canUseValue () const |
|
public inline std::shared_ptr< SerializableState > getCurrentState () const |
|
public inline void setCurrentState (const std::shared_ptr< SerializableState > & s) |
|
private signed int current |
|
private int characters_count |
|
private SimpleString characters |
|
private vector< std::string::size_type > indices |
|
private vector< std::string::size_type > lengths |
public template<>
inline
ClassRegexIterator
(Iter begin,Iter end)
public inline virtual
~ClassRegexIterator
()
public inline virtual void
updateReferences
(
IteratorState
&)
public inline virtual void
updateAttributes
(
IteratorState
&)
public inline void
value
(SimpleString * dst) const
public inline size_t
size
() const
public inline
bool
canUseValue
() const
public inline std::shared_ptr< SerializableState >
getCurrentState
() const
public inline void
setCurrentState
(const std::shared_ptr< SerializableState > & s)
private signed int
current
private int
characters_count
private SimpleString
characters
private vector< std::string::size_type >
indices
private vector< std::string::size_type >
lengths
class rexgen::CompoundRegex
: public rexgen::RegexContainer
Members | Descriptions |
---|---|
public void prependRegex (const std::shared_ptr< Regex > & regex) |
|
public void appendRegex (const std::shared_ptr< Regex > & regex) |
|
public inline virtual RegexType getRegexType () const |
|
public virtual std::unique_ptr< Iterator > iterator ( IteratorState & state) const |
|
public virtual std::unique_ptr< Iterator > singleIterator ( IteratorState & state) const |
public void
prependRegex
(const std::shared_ptr<
Regex
> & regex)
public void
appendRegex
(const std::shared_ptr<
Regex
> & regex)
public inline virtual
RegexType
getRegexType
() const
public virtual std::unique_ptr< Iterator >
iterator
(
IteratorState
& state) const
public virtual std::unique_ptr< Iterator >
singleIterator
(
IteratorState
& state) const
class rexgen::CompoundRegexIterator
: public IteratorContainer
Members | Descriptions |
---|---|
public explicit CompoundRegexIterator () |
|
public bool next () |
|
public void value (SimpleString * dst) const |
|
public std::shared_ptr< SerializableState > getCurrentState () const |
|
public void setCurrentState (const std::shared_ptr< SerializableState > & state) |
public explicit
CompoundRegexIterator
()
public void
value
(SimpleString * dst) const
public std::shared_ptr< SerializableState >
getCurrentState
() const
public void
setCurrentState
(const std::shared_ptr< SerializableState > & state)
class rexgen::FastIteratorPermuter
: public Iterator
Members | Descriptions |
---|---|
public inline FastIteratorPermuter (unsigned int count) |
|
public inline void value (SimpleString * dst) const |
|
public inline bool next () |
|
public inline void updateAttributes ( IteratorState & iterState) |
|
public inline void updateReferences ( IteratorState & iterState) |
|
private std::vector< ITERATOR > iterators |
public inline
FastIteratorPermuter
(unsigned int count)
public inline void
value
(SimpleString * dst) const
public inline void
updateAttributes
(
IteratorState
& iterState)
public inline void
updateReferences
(
IteratorState
& iterState)
private std::vector< ITERATOR >
iterators
class rexgen::GroupReference
: public rexgen::Regex
Members | Descriptions |
---|---|
public inline explicit GroupReference (int _groupId) |
|
public virtual std::unique_ptr< Iterator > singleIterator ( IteratorState & state) const |
|
public inline virtual RegexType getRegexType () const |
|
public inline virtual int getGroupId () const |
|
public inline const std::weak_ptr< Regex > & getRegex () const |
|
public inline void setRegex (const std::weak_ptr< Regex > & re) |
|
public inline std::uint64_t size () const |
|
private const int groupId |
|
private std::weak_ptr< Regex > groupRef |
public inline explicit
GroupReference
(int _groupId)
public virtual std::unique_ptr< Iterator >
singleIterator
(
IteratorState
& state) const
public inline virtual
RegexType
getRegexType
() const
public inline virtual int
getGroupId
() const
public inline std::uint64_t
size
() const
private const int
groupId
class rexgen::GroupReferenceIterator
: public IteratorContainer
Members | Descriptions |
---|---|
public inline GroupReferenceIterator (int group) |
|
public inline bool hasNext () const |
|
public inline bool next () |
|
public inline void value (SimpleString * dst) const |
|
public void updateReferences ( IteratorState & iterState) |
|
private NullIterator null_iter |
|
private int groupId |
|
private std::reference_wrapper< Iterator > groupRef |
public inline
GroupReferenceIterator
(int group)
public inline void
value
(SimpleString * dst) const
public void
updateReferences
(
IteratorState
& iterState)
private NullIterator
null_iter
private int
groupId
private std::reference_wrapper< Iterator >
groupRef
class rexgen::IteratorPermuter
: public IteratorContainer
Members | Descriptions |
---|---|
public void value (SimpleString * dst) const |
|
public IteratorPermuter (const Regex & re, IteratorState & is,unsigned int min,unsigned int max) |
|
public bool next () |
|
public void init () |
|
private const unsigned int min_occurs |
|
private const unsigned int max_occurs |
|
private unsigned int current |
|
private unsigned int occurs |
public void
value
(SimpleString * dst) const
public
IteratorPermuter
(const
Regex
& re,
IteratorState
& is,unsigned int min,unsigned int max)
public void
init
()
private const unsigned int
min_occurs
private const unsigned int
max_occurs
private unsigned int
current
private unsigned int
occurs
Members | Descriptions |
---|---|
public inline explicit IteratorState () |
|
public IteratorState (const IteratorState &) = delete |
|
public IteratorState ( IteratorState &&) = delete |
|
public IteratorState & operator= (const IteratorState &) = delete |
|
public IteratorState & operator= ( IteratorState &&) = delete |
|
public inline void registerIterator (int id,std::reference_wrapper< Iterator > iterator) |
|
public inline bool hasId (int id) const |
|
public inline std::reference_wrapper< Iterator > operator[] (int id) const |
|
public inline void setStreamIterator (std::unique_ptr< StreamRegexIterator > & iter) |
|
public inline bool hasStreamIterator () const |
|
public inline std::reference_wrapper< StreamRegexIterator > getStreamIterator () const |
|
private std::map< int, std::reference_wrapper< Iterator > > groupIterators |
|
private mutable std::unique_ptr< StreamRegexIterator > streamIterator |
public inline explicit
IteratorState
()
public
IteratorState
(const
IteratorState
&) = delete
public
IteratorState
(
IteratorState
&&) = delete
public
IteratorState
&
operator=
(const
IteratorState
&) = delete
public
IteratorState
&
operator=
(
IteratorState
&&) = delete
public inline void
registerIterator
(int id,std::reference_wrapper< Iterator > iterator)
public inline std::reference_wrapper< Iterator >
operator[]
(int id) const
public inline void
setStreamIterator
(std::unique_ptr<
StreamRegexIterator
> & iter)
public inline
bool
hasStreamIterator
() const
public inline std::reference_wrapper<
StreamRegexIterator
>
getStreamIterator
() const
private std::map< int, std::reference_wrapper< Iterator > >
groupIterators
private mutable std::unique_ptr<
StreamRegexIterator
>
streamIterator
Members | Descriptions |
---|---|
public unsigned int min |
|
public unsigned int max |
|
public inline Quantifier () |
|
public inline Quantifier (unsigned int _min,unsigned int _max) |
|
public inline Quantifier (const Quantifier & other) |
|
public inline virtual ~Quantifier () |
|
public inline virtual Quantifier & operator= (const Quantifier & other) |
|
public inline virtual bool operator== (const Quantifier & other) const |
|
public inline unsigned int getMin () const |
|
public inline unsigned int getMax () const |
|
public inline void setMin (unsigned _min) |
|
public inline void setMax (unsigned _max) |
public unsigned int
min
public unsigned int
max
public inline
Quantifier
()
public inline
Quantifier
(unsigned int _min,unsigned int _max)
public inline
Quantifier
(const
Quantifier
& other)
public inline virtual
~Quantifier
()
public inline virtual
Quantifier
&
operator=
(const
Quantifier
& other)
public inline virtual
bool
operator==
(const
Quantifier
& other) const
public inline unsigned int
getMin
() const
public inline unsigned int
getMax
() const
public inline void
setMin
(unsigned _min)
public inline void
setMax
(unsigned _max)
class rexgen::RangeIterator
: public Iterator
Members | Descriptions |
---|---|
public inline explicit RangeIterator () |
|
public inline void value (SimpleString * dst) const |
|
public inline bool next () |
|
public inline void updateReferences ( IteratorState &) |
|
public inline void updateAttributes ( IteratorState &) |
|
private char current |
|
private const char minimum |
|
private const char maximum |
public inline explicit
RangeIterator
()
public inline void
value
(SimpleString * dst) const
public inline void
updateReferences
(
IteratorState
&)
public inline void
updateAttributes
(
IteratorState
&)
private char
current
private const char
minimum
private const char
maximum
Members | Descriptions |
---|---|
public inline Regex () |
|
public inline virtual ~Regex () |
|
public inline unsigned int getMinOccurs () const |
|
public inline unsigned int getMaxOccurs () const |
|
public inline void setMinOccurs (unsigned int _min) |
|
public inline void setMaxOccurs (unsigned int _max) |
|
public inline void setQuantifier (const Quantifier & q) |
|
public RegexType getRegexType () const |
|
public virtual std::unique_ptr< Iterator > iterator ( IteratorState & state) const |
|
public std::unique_ptr< Iterator > singleIterator ( IteratorState & state) const |
|
public inline int getId () const |
|
public inline virtual int getGroupId () const |
|
public inline virtual bool usesCallback () const |
|
protected inline virtual int createId () |
|
private Quantifier quantifier |
|
private int id |
public inline
Regex
()
public inline virtual
~Regex
()
public inline unsigned int
getMinOccurs
() const
public inline unsigned int
getMaxOccurs
() const
public inline void
setMinOccurs
(unsigned int _min)
public inline void
setMaxOccurs
(unsigned int _max)
public inline void
setQuantifier
(const
Quantifier
& q)
public
RegexType
getRegexType
() const
public virtual std::unique_ptr< Iterator >
iterator
(
IteratorState
& state) const
public std::unique_ptr< Iterator >
singleIterator
(
IteratorState
& state) const
public inline int
getId
() const
public inline virtual int
getGroupId
() const
public inline virtual
bool
usesCallback
() const
protected inline virtual int
createId
()
private
Quantifier
quantifier
private int
id
class rexgen::RegexAlternatives
: public rexgen::RegexContainer
Members | Descriptions |
---|---|
public inline RegexAlternatives () |
|
public inline void addRegex (std::shared_ptr< Regex > & regex) |
|
public inline virtual RegexType getRegexType () const |
|
public virtual std::unique_ptr< Iterator > iterator ( IteratorState & state) const |
|
public virtual std::unique_ptr< Iterator > singleIterator ( IteratorState & state) const |
|
public inline virtual int getGroupId () const |
|
public inline void setGroupId (int _id) |
|
public inline void setGroupOptions (const t_group_options & opts) |
|
private int groupId |
|
private int handle_case |
public inline
RegexAlternatives
()
public inline virtual
RegexType
getRegexType
() const
public virtual std::unique_ptr< Iterator >
iterator
(
IteratorState
& state) const
public virtual std::unique_ptr< Iterator >
singleIterator
(
IteratorState
& state) const
public inline virtual int
getGroupId
() const
public inline void
setGroupId
(int _id)
public inline void
setGroupOptions
(const
t_group_options
& opts)
private int
groupId
private int
handle_case
class rexgen::RegexAlternativesIterator
: public IteratorContainer
Members | Descriptions |
---|---|
public explicit RegexAlternativesIterator () |
|
public bool next () |
|
public inline void value (SimpleString * dst) const |
|
public void addChild (std::unique_ptr< Iterator > && re) |
|
public std::shared_ptr< SerializableState > getCurrentState () const |
|
public void setCurrentState (const std::shared_ptr< SerializableState > & state) |
|
private bool canUseValue () const |
public explicit
RegexAlternativesIterator
()
public inline void
value
(SimpleString * dst) const
public void
addChild
(std::unique_ptr< Iterator > && re)
public std::shared_ptr< SerializableState >
getCurrentState
() const
public void
setCurrentState
(const std::shared_ptr< SerializableState > & state)
private
bool
canUseValue
() const
class rexgen::RegexContainer
: public rexgen::Regex
Members | Descriptions |
---|---|
public inline virtual bool usesCallback () const |
|
protected std::deque< std::shared_ptr< Regex > > regexObjects |
|
protected inline std::deque< std::shared_ptr< Regex > > & getChildren () |
public inline virtual
bool
usesCallback
() const
protected std::deque< std::shared_ptr<
Regex
> >
regexObjects
protected inline std::deque< std::shared_ptr<
Regex
> > &
getChildren
()
class rexgen::RexgenFlexLexer
: public yyFlexLexer
Members | Descriptions |
---|---|
public RexgenFlexLexer (const std::string & input) |
|
public RexgenParser::symbol_type rexgen_lex ( RexgenParsingDriver & driver) |
|
public int LexerInput (char * buf,int max_size) |
|
public rexgen::RexgenParser::symbol_type beginGroupWithOptions ( RexgenParsingDriver & driver) const |
|
public rexgen::RexgenParser::symbol_type beginGroup ( RexgenParsingDriver & driver) const |
|
private std::string content |
|
private std::string::const_iterator content_ptr |
|
private std::wstring wcontent |
|
private std::wstring::const_iterator wcontent_ptr |
|
public static char hex2bin (const char c) |
|
public static char parseAnsiChar (const char * text) |
|
public static uint32_t parseUnicodeChar (const char * text) |
|
public static void UTF8_validate_second_byte (const unsigned char c) |
|
public static uint32_t parseUTF8 (const unsigned char * text) |
public
RexgenFlexLexer
(const std::string & input)
public RexgenParser::symbol_type
rexgen_lex
(
RexgenParsingDriver
& driver)
public int
LexerInput
(char * buf,int max_size)
public rexgen::RexgenParser::symbol_type
beginGroupWithOptions
(
RexgenParsingDriver
& driver) const
public rexgen::RexgenParser::symbol_type
beginGroup
(
RexgenParsingDriver
& driver) const
private std::string
content
private std::string::const_iterator
content_ptr
private std::wstring
wcontent
private std::wstring::const_iterator
wcontent_ptr
public static char
hex2bin
(const char c)
public static char
parseAnsiChar
(const char * text)
public static uint32_t
parseUnicodeChar
(const char * text)
public static void
UTF8_validate_second_byte
(const unsigned char c)
public static uint32_t
parseUTF8
(const unsigned char * text)
Members | Descriptions |
---|---|
public bool ignore_case |
|
public charset encoding |
|
public std::FILE * infile |
|
public callback_fp_mb stream_callback |
|
public void(* parser_error |
|
public inline RexgenOptions () |
public
bool
ignore_case
public std::FILE *
infile
public
callback_fp_mb
stream_callback
public void(*
parser_error
public inline
RexgenOptions
()
Members | Descriptions |
---|---|
public RexgenParsingDriver (const RexgenOptions & __options) |
|
public inline int nextGroupId () |
|
public std::shared_ptr< rexgen::Regex > parse (const std::string & regex) |
|
public void registerGroupReference (std::shared_ptr< GroupReference > gr) |
|
public const std::shared_ptr< std::set< std::shared_ptr< GroupReference > > > & getGroupReferences (int id) const |
|
public void registerGroup (std::weak_ptr< Regex > & re) |
|
public const std::weak_ptr< Regex > & getGroupRegex (int id) const |
|
public const map< int, std::weak_ptr< Regex > > & getGroups () const |
|
public void updateAllGroupReferences () |
iterates through all group references and calls updateGroupReferences for each |
public void updateGroupReferences (const std::weak_ptr< Regex > & wre) |
|
public bool hasInvalidGroupReferences () const |
|
public inline FILE * getInFile () const |
|
public inline callback_fp_mb getStreamCallback () const |
|
public inline void handleParserError (const char * msg) const |
|
public inline void setResult (const std::shared_ptr< Regex > & regex) |
|
public inline std::shared_ptr< Regex > getResult () |
|
public std::shared_ptr< Regex > getStreamRegex () |
this is the handling of \0 - terminals in the regex. the first occurance of \0 creates a StreamRegex and returns it, all following occurances return a reference to the previously created StreamRegex. We must make this distinction, because StreamReference handles calls to next() by going to the next word, and calling next() for the whole regex would result in multiple calls to next() for each single occurance of \0 . So, we return a GroupReference, which does not forward the invocation of next() to the StreamRegex |
private std::shared_ptr< Regex > result |
|
private int groupId |
|
private const RexgenOptions & options |
|
private std::map< int, std::shared_ptr< std::set< std::shared_ptr< GroupReference > > > > groupRefs |
|
private std::map< int, std::weak_ptr< Regex > > groups |
|
private std::shared_ptr< StreamRegex > streamRegex |
|
private std::shared_ptr< RexgenFlexLexer > scanner |
|
private std::shared_ptr< RexgenParser > parser |
public
RexgenParsingDriver
(const
RexgenOptions
& __options)
public inline int
nextGroupId
()
public std::shared_ptr<
rexgen::Regex
>
parse
(const std::string & regex)
public void
registerGroupReference
(std::shared_ptr<
GroupReference
> gr)
public const std::shared_ptr< std::set< std::shared_ptr<
GroupReference
> > > &
getGroupReferences
(int id) const
public void
registerGroup
(std::weak_ptr<
Regex
> & re)
public const std::weak_ptr<
Regex
> &
getGroupRegex
(int id) const
public void
updateAllGroupReferences
()
iterates through all group references and calls updateGroupReferences for each
public void
updateGroupReferences
(const std::weak_ptr<
Regex
> & wre)
public
bool
hasInvalidGroupReferences
() const
public inline FILE *
getInFile
() const
public inline
callback_fp_mb
getStreamCallback
() const
public inline void
handleParserError
(const char * msg) const
public std::shared_ptr<
Regex
>
getStreamRegex
()
this is the handling of \0
- terminals in the regex. the first occurance of \0
creates a StreamRegex and returns it, all following occurances return a reference to the previously created StreamRegex. We must make this distinction, because StreamReference handles calls to next() by going to the next word, and calling next() for the whole regex would result in multiple calls to next() for each single occurance of \0
. So, we return a GroupReference, which does not forward the invocation of next() to the StreamRegex
private int
groupId
private const
RexgenOptions
&
options
private std::map< int, std::shared_ptr< std::set< std::shared_ptr<
GroupReference
> > > >
groupRefs
private std::shared_ptr<
StreamRegex
>
streamRegex
private std::shared_ptr<
RexgenFlexLexer
>
scanner
private std::shared_ptr< RexgenParser >
parser
class rexgen::StreamRegex
: public rexgen::Regex
Members | Descriptions |
---|---|
public virtual std::unique_ptr< Iterator > singleIterator ( IteratorState & state) const |
|
public explicit StreamRegex ( callback_fp_mb cb) |
|
public inline virtual RegexType getRegexType () const |
|
public inline virtual bool usesCallback () const |
|
private callback_fp_mb callback |
public virtual std::unique_ptr< Iterator >
singleIterator
(
IteratorState
& state) const
public explicit
StreamRegex
(
callback_fp_mb
cb)
public inline virtual
RegexType
getRegexType
() const
public inline virtual
bool
usesCallback
() const
private
callback_fp_mb
callback
class rexgen::StreamRegexIterator
: public Iterator
Members | Descriptions |
---|---|
public inline StreamRegexIterator ( callback_fp_mb cb) |
|
public inline bool next () |
|
public inline bool forceNext () |
|
public inline bool hasNext () const |
|
public inline void value (SimpleString * dst) const |
|
public inline void updateReferences ( IteratorState &) |
|
public inline void updateAttributes ( IteratorState &) |
|
public inline bool isSingleton () const |
|
public std::shared_ptr< SerializableState > getCurrentState () const |
|
public void setCurrentState (const std::shared_ptr< SerializableState > & state) |
|
private callback_fp_mb callback |
|
private byte_t buffer |
|
private size_t length |
|
private bool __hasNext |
|
private void readNextWord () |
public inline
StreamRegexIterator
(
callback_fp_mb
cb)
public inline void
value
(SimpleString * dst) const
public inline void
updateReferences
(
IteratorState
&)
public inline void
updateAttributes
(
IteratorState
&)
public inline
bool
isSingleton
() const
public std::shared_ptr< SerializableState >
getCurrentState
() const
public void
setCurrentState
(const std::shared_ptr< SerializableState > & state)
private
callback_fp_mb
callback
private size_t
length
private void
readNextWord
()
class rexgen::TerminalRegex
: public rexgen::Regex
Members | Descriptions |
---|---|
public inline explicit TerminalRegex (wchar_t ch) |
|
public void prepend (const std::shared_ptr< TerminalRegex > & tre) |
|
public inline const char_type * getValue () const |
|
public inline virtual RegexType getRegexType () const |
|
public inline virtual std::unique_ptr< Iterator > singleIterator ( IteratorState &) const |
|
private std::vector< wchar_t > value |
public inline explicit
TerminalRegex
(wchar_t ch)
public void
prepend
(const std::shared_ptr<
TerminalRegex
> & tre)
public inline virtual
RegexType
getRegexType
() const
public inline virtual std::unique_ptr< Iterator >
singleIterator
(
IteratorState
&) const
private std::vector< wchar_t >
value
class rexgen::TerminalRegexIterator
: public Iterator
Members | Descriptions |
---|---|
public inline TerminalRegexIterator (const wchar_t * _terminal,size_t elements) |
|
public inline bool next () |
|
public inline void value (SimpleString * dst) const |
|
public inline bool hasNext () const |
|
public inline void updateReferences ( IteratorState &) |
|
public inline void updateAttributes ( IteratorState &) |
|
private SimpleString terminal |
public inline
TerminalRegexIterator
(const wchar_t * _terminal,size_t elements)
public inline void
value
(SimpleString * dst) const
public inline void
updateReferences
(
IteratorState
&)
public inline void
updateAttributes
(
IteratorState
&)
private SimpleString
terminal
class rexgen::TopIterator
: public Iterator
Members | Descriptions |
---|---|
public inline explicit TopIterator (std::shared_ptr< Regex > & re) |
|
public inline bool next () |
|
public inline void value (SimpleString * dst) const |
|
public inline void updateReferences ( IteratorState &) |
|
public inline void updateAttributes ( IteratorState &) |
|
public inline std::shared_ptr< SerializableState > getCurrentState () const |
|
public inline void setCurrentState (const std::shared_ptr< SerializableState > & s) |
|
private std::shared_ptr< Iterator > child |
|
private IteratorState state |
|
private bool needWord |
|
private inline void updateReferences () |
|
private inline void updateAttributes () |
public inline explicit
TopIterator
(std::shared_ptr<
Regex
> & re)
public inline void
value
(SimpleString * dst) const
public inline void
updateReferences
(
IteratorState
&)
public inline void
updateAttributes
(
IteratorState
&)
public inline std::shared_ptr< SerializableState >
getCurrentState
() const
public inline void
setCurrentState
(const std::shared_ptr< SerializableState > & s)
private std::shared_ptr< Iterator >
child
private
IteratorState
state
private inline void
updateReferences
()
private inline void
updateAttributes
()
Members | Descriptions |
---|---|
public int handle_case |
|
public int group_id |
|
public inline t_group_options (int gid) |
|
public inline t_group_options (int hc,int gid) |
public int
handle_case
public int
group_id
public inline
t_group_options
(int gid)
public inline
t_group_options
(int hc,int gid)
Members | Descriptions |
---|---|
public inline explicit GenericError (const char * msg) |
|
public inline explicit GenericError (const std::string & msg) |
|
public inline const char * getMessage () |
|
private const std::string message |
public inline explicit
GenericError
(const char * msg)
public inline explicit
GenericError
(const std::string & msg)
public inline const char *
getMessage
()
private const std::string
message
class SyntaxError
: public GenericError
Members | Descriptions |
---|---|
public inline explicit SyntaxError (const char * msg) |
|
public inline explicit SyntaxError (const std::string & msg) |
public inline explicit
SyntaxError
(const char * msg)
public inline explicit
SyntaxError
(const std::string & msg)
Members | Descriptions |
---|---|
public callback_fp_mb stream_callback |
|
public const char * regex_ctype |
|
public const char * callback_ctype |
public
callback_fp_mb
stream_callback
public const char *
regex_ctype
public const char *
callback_ctype
Generated by Moxygen