ALox  V. 2402 R. 0
Home ALox for C++ ALox for C# ALox for Java Download
Public Types | Public Fields | Public Methods | List of all members
Lox.DomainSubstitutionRule Class Reference
Collaboration diagram for Lox.DomainSubstitutionRule:
[legend]

Class Description

Domain substitution rules.

Public Types

enum  Type { Exact, StartsWith, EndsWith, Substring }
 

Public Fields

AString Replacement = new AString()
 The replacement.
 
AString Search = new AString()
 The path to search.
 
Type type
 Denotes if path given started with '*' or not.
 

Public Methods

 DomainSubstitutionRule (String s, String r)
 

Member Enumeration Documentation

◆ Type

enum Type
strong

Rule types

Enumerator
Exact 

Exact match.

StartsWith 

Starts with match.

EndsWith 

Ends with match.

Substring 

Any sub-string.

Constructor & Destructor Documentation

◆ DomainSubstitutionRule()

DomainSubstitutionRule ( String  s,
String  r 
)
inline

Constructor.

Parameters
sThe path to search.
rThe replacement.

The documentation for this class was generated from the following file: