1 implementation of EncodingConfig
Microsoft.TemplateEngine.Core (1)
Util\ProcessorState.cs (1)
138
public IEncodingConfig
EncodingConfig
{ get; }
19 references to EncodingConfig
Microsoft.TemplateEngine.Core (19)
CommonOperations.cs (5)
29
processor.SeekTargetBackWhile(processor.
EncodingConfig
.Whitespace);
30
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: true);
37
processor.SeekTargetBackWhile(processor.
EncodingConfig
.Whitespace);
42
processor.SeekSourceForwardWhile(processor.
EncodingConfig
.Whitespace, ref bufferLength, ref currentBufferPosition);
44
_ = processor.
EncodingConfig
.LineEndings.GetOperation(processor.CurrentBuffer, bufferLength, ref currentBufferPosition, out _);
Expressions\Cpp\CppStyleEvaluatorDefinition.cs (4)
75
trie.Append(processor.
EncodingConfig
.Variables);
107
return EvaluateCondition(tokens, processor.
EncodingConfig
.VariableValues);
241
return EvaluateCondition(tokens, processor.
EncodingConfig
.VariableValues);
274
return EvaluateCondition(tokens, processor.
EncodingConfig
.VariableValues);
Operations\Conditional.cs (7)
161
processor.SeekTargetBackUntil(processor.
EncodingConfig
.LineEndings);
190
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: true);
234
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: true);
246
processor.SeekTargetBackUntil(processor.
EncodingConfig
.LineEndings, true);
265
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: false);
284
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: true);
351
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: true);
Operations\ExpandVariables.cs (2)
32
Tokens = processor.
EncodingConfig
.VariableKeys;
51
object result = processor.
EncodingConfig
[token];
Operations\SetFlag.cs (1)
96
processor.SeekSourceForwardUntil(processor.
EncodingConfig
.LineEndings, ref bufferLength, ref currentBufferPosition, consumeToken: true);