// ----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ----------------------------------------------------------------------------
namespace Microsoft.Singularity.Security.AccessControl
{
using System;
///
/// Summary description for Token.
///
internal class AclToken
{
///
/// The token type
///
public AclTokenType Type;
///
/// The value of the token
///
public readonly string! Text;
///
/// Start position in the input stream.
///
public int Start;
///
/// End position in the input stream.
///
public int End;
public AclToken(AclTokenType type, string! text, int start, int end)
{
this.Type = type;
this.Text = text;
this.Start = start;
this.End = end;
}
public override string! ToString()
{
return "[" + Type + ":" + Text + ":(" + Start + "," + End +")]";
}
}
}