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