public Phase(ITokenConfig match, string replacement, IReadOnlyList <ITokenConfig> resetsWith) { Match = match; Replacement = replacement; ResetsWith = resetsWith; Next = new List <Phase>(); }
public Replacement(ITokenConfig match, string replaceWith, string id, bool initialState) { _match = match; _replaceWith = replaceWith; _id = id; _initialState = initialState; }
public Include(ITokenConfig startToken, ITokenConfig endToken, Func <string, Stream> sourceStreamOpener, string id, bool initialState) { SourceStreamOpener = sourceStreamOpener; StartToken = startToken; EndToken = endToken; _id = id; _initialState = initialState; }
public BalancedNesting(ITokenConfig startToken, ITokenConfig realEndToken, ITokenConfig pseudoEndToken, string id, string resetFlag, bool initialState) { _startToken = startToken; _realEndToken = realEndToken; _pseudoEndToken = pseudoEndToken; _id = id; _resetFlag = resetFlag; _initialState = initialState; }
public MarkupTokens(ITokenConfig openOpenElementToken, ITokenConfig openCloseElementToken, ITokenConfig closeElementTagToken, ITokenConfig selfClosingElementEndToken, ITokenConfig openConditionExpression, ITokenConfig closeConditionExpression) { OpenOpenElementToken = openOpenElementToken; OpenCloseElementToken = openCloseElementToken; CloseElementTagToken = closeElementTagToken; SelfClosingElementEndToken = selfClosingElementEndToken; OpenConditionExpression = openConditionExpression; CloseConditionExpression = closeConditionExpression; }
public Region(ITokenConfig start, ITokenConfig end, bool include, bool wholeLine, bool trimWhitespace, string id, bool initialState) { _wholeLine = wholeLine; _trimWhitespace = trimWhitespace; _start = start; _end = end; _include = include; _toggle = _start.Equals(_end); _id = id; _initialState = initialState; }
public SetFlag(string name, ITokenConfig on, ITokenConfig off, ITokenConfig onNoEmit, ITokenConfig offNoEmit, string id, bool initialState, bool? @default = null) { Name = name; On = on; Off = off; OnNoEmit = onNoEmit; OffNoEmit = offNoEmit; Default = @default; _id = id; _initialState = initialState; }
public JwtTokenBuilder(ITokenConfig config) { _config = config; }
public ReplacementTokens(string identity, ITokenConfig originalValue) { VariableName = identity; OriginalValue = originalValue; }
public Phase(ITokenConfig match, IReadOnlyList <ITokenConfig> resetsWith) : this(match, null, resetsWith) { }
public bool Equals(ITokenConfig other) { return(other != null && string.Equals(other.Before, Before, StringComparison.Ordinal) && string.Equals(other.After, After, StringComparison.Ordinal) && string.Equals(other.Value, Value, StringComparison.Ordinal)); }