System.RegularExpressions Namespace

Classes

public class Any
public class Char
public class Class
public class Context
public class Nfa
public class NfaEdge
public class NfaState
public class Range
public abstract class Symbol

Functions

public Nfa Alt(Context& context, const Nfa& left, const Nfa& right)
public Nfa Cat(const Nfa& left, const Nfa& right)
public Nfa CompileFilePattern(Context& context, const String<uchar>& filePattern)
public Nfa CompileRegularExpressionPattern(Context& context, const String<uchar>& regularExpressionPattern)
public List<NfaState*> EpsilonClosure(NfaState* state)
public List<NfaState*> EpsilonClosure(const List<NfaState*>& states)
public bool FilePatternMatch(const String<uchar>& filePath, const String<uchar>& filePattern)
public Nfa Kleene(Context& context, const Nfa& nfa)
public uchar MakeEscapeValue(const String<char>& fileName, const Token& token)
public Nfa MakeNfa(Context& context, Symbol* symbol)
public String<uchar> MakeRegularExpressionPatternFromFilePattern(const String<uchar>& filePattern)
public bool Match(Nfa& nfa, const String<uchar>& s)
public List<NfaState*> Move(const List<NfaState*>& states, uchar c)
public Nfa Opt(Context& context, const Nfa& nfa)
public bool ParseAlternative(RexLexer& lexer, Context& context, Nfa& nfa)
public bool ParseCatenation(RexLexer& lexer, Context& context, Nfa& nfa)
public bool ParseChar(RexLexer& lexer, Context& context, uchar& ch)
public bool ParseClass(RexLexer& lexer, Context& context, Class*& cls)
public uchar ParseEscape(const String<char>& fileName, const uchar*& p, const uchar* e, const Token& token)
public void ParseHexChar(const String<char>& fileName, uchar& value, const uchar*& p, const uchar* e, const Token& token)
public bool ParsePrimary(RexLexer& lexer, Context& context, Nfa& nfa)
public bool ParseRange(RexLexer& lexer, Context& context, Symbol*& symbol)
public Nfa ParseRegularExpressionPattern(RexLexer& lexer, Context& context)
public bool ParseRepetition(RexLexer& lexer, Context& context, Nfa& nfa)
public bool PatternMatch(const String<uchar>& str, Nfa& nfa)
public bool PatternMatch(const String<uchar>& str, const String<uchar>& regularExpressionPattern)
public Nfa Pos(Context& context, const Nfa& nfa)
public inline bool operator<(const Range& left, const Range& right)
public inline bool operator==(const Range& left, const Range& right)

Constants

public const uchar eps = '\0'

Function Details

Alt Function

public Nfa Alt(Context& context, const Nfa& left, const Nfa& right)

Definition
Line 145 of System.RegularExpressions/Nfa.cm


Cat Function

public Nfa Cat(const Nfa& left, const Nfa& right)

Definition
Line 135 of System.RegularExpressions/Nfa.cm


CompileFilePattern Function

public Nfa CompileFilePattern(Context& context, const String<uchar>& filePattern)

Definition
Line 45 of System.RegularExpressions/Match.cm


CompileRegularExpressionPattern Function

public Nfa CompileRegularExpressionPattern(Context& context, const String<uchar>& regularExpressionPattern)

Definition
Line 40 of System.RegularExpressions/Match.cm


EpsilonClosure Function

public List<NfaState*> EpsilonClosure(NfaState* state)

Definition
Line 34 of System.RegularExpressions/Algorithm.cm


EpsilonClosure Function

public List<NfaState*> EpsilonClosure(const List<NfaState*>& states)

Definition
Line 10 of System.RegularExpressions/Algorithm.cm


FilePatternMatch Function

public bool FilePatternMatch(const String<uchar>& filePath, const String<uchar>& filePattern)

Definition
Line 29 of System.RegularExpressions/Match.cm


Kleene Function

public Nfa Kleene(Context& context, const Nfa& nfa)

Definition
Line 165 of System.RegularExpressions/Nfa.cm


MakeEscapeValue Function

public uchar MakeEscapeValue(const String<char>& fileName, const Token& token)

Definition
Line 112 of System.RegularExpressions/TokenValueParsers.cm


MakeNfa Function

public Nfa MakeNfa(Context& context, Symbol* symbol)

Definition
Line 127 of System.RegularExpressions/Nfa.cm


MakeRegularExpressionPatternFromFilePattern Function

public String<uchar> MakeRegularExpressionPatternFromFilePattern(const String<uchar>& filePattern)

Definition
Line 10 of System.RegularExpressions/Match.cm


Match Function

public bool Match(Nfa& nfa, const String<uchar>& s)

Definition
Line 55 of System.RegularExpressions/Algorithm.cm


Move Function

public List<NfaState*> Move(const List<NfaState*>& states, uchar c)

Definition
Line 39 of System.RegularExpressions/Algorithm.cm


Opt Function

public Nfa Opt(Context& context, const Nfa& nfa)

Definition
Line 198 of System.RegularExpressions/Nfa.cm


ParseAlternative Function

public bool ParseAlternative(RexLexer& lexer, Context& context, Nfa& nfa)

Definition
Line 20 of System.RegularExpressions/RexParser.cm


ParseCatenation Function

public bool ParseCatenation(RexLexer& lexer, Context& context, Nfa& nfa)

Definition
Line 45 of System.RegularExpressions/RexParser.cm


ParseChar Function

public bool ParseChar(RexLexer& lexer, Context& context, uchar& ch)

Definition
Line 218 of System.RegularExpressions/RexParser.cm


ParseClass Function

public bool ParseClass(RexLexer& lexer, Context& context, Class*& cls)

Definition
Line 162 of System.RegularExpressions/RexParser.cm


ParseEscape Function

public uchar ParseEscape(const String<char>& fileName, const uchar*& p, const uchar* e, const Token& token)

Definition
Line 39 of System.RegularExpressions/TokenValueParsers.cm


ParseHexChar Function

public void ParseHexChar(const String<char>& fileName, uchar& value, const uchar*& p, const uchar* e, const Token& token)

Definition
Line 10 of System.RegularExpressions/TokenValueParsers.cm


ParsePrimary Function

public bool ParsePrimary(RexLexer& lexer, Context& context, Nfa& nfa)

Definition
Line 94 of System.RegularExpressions/RexParser.cm


ParseRange Function

public bool ParseRange(RexLexer& lexer, Context& context, Symbol*& symbol)

Definition
Line 192 of System.RegularExpressions/RexParser.cm


ParseRegularExpressionPattern Function

public Nfa ParseRegularExpressionPattern(RexLexer& lexer, Context& context)

Definition
Line 7 of System.RegularExpressions/RexParser.cm


ParseRepetition Function

public bool ParseRepetition(RexLexer& lexer, Context& context, Nfa& nfa)

Definition
Line 62 of System.RegularExpressions/RexParser.cm


PatternMatch Function

public bool PatternMatch(const String<uchar>& str, Nfa& nfa)

Definition
Line 49 of System.RegularExpressions/Match.cm


PatternMatch Function

public bool PatternMatch(const String<uchar>& str, const String<uchar>& regularExpressionPattern)

Definition
Line 33 of System.RegularExpressions/Match.cm


Pos Function

public Nfa Pos(Context& context, const Nfa& nfa)

Definition
Line 182 of System.RegularExpressions/Nfa.cm


operator< Function

public inline bool operator<(const Range& left, const Range& right)

Definition
Line 86 of System.RegularExpressions/Symbol.cm


operator== Function

public inline bool operator==(const Range& left, const Range& right)

Definition
Line 82 of System.RegularExpressions/Symbol.cm