mirror of
https://github.com/actions/runner.git
synced 2025-12-14 04:53:34 +00:00
27 lines
657 B
C#
27 lines
657 B
C#
using System;
|
|
using GitHub.DistributedTask.ObjectTemplating.Tokens;
|
|
|
|
namespace GitHub.DistributedTask.ObjectTemplating
|
|
{
|
|
/// <summary>
|
|
/// Interface for reading a source object (or file).
|
|
/// This interface is used by TemplateReader to build a TemplateToken DOM.
|
|
/// </summary>
|
|
internal interface IObjectReader
|
|
{
|
|
Boolean AllowLiteral(out LiteralToken token);
|
|
|
|
Boolean AllowSequenceStart(out SequenceToken token);
|
|
|
|
Boolean AllowSequenceEnd();
|
|
|
|
Boolean AllowMappingStart(out MappingToken token);
|
|
|
|
Boolean AllowMappingEnd();
|
|
|
|
void ValidateStart();
|
|
|
|
void ValidateEnd();
|
|
}
|
|
}
|