public bool Equals(TokenLocation obj)
        {
            if (ReferenceEquals(this, obj))
            {
                return true;
            }

            return obj != null && obj.token == this.token;
        }
 public AuthenticationAttribute(TokenLocation tokenLocation)
 {
     TokenLocation = tokenLocation;
 }
 /// <summary>
 /// Constructs a new instance of <see cref="SingleTokenLocationMatch"/>.
 /// </summary>
 public SingleTokenLocationMatch(TokenLocation original)
 {
     this.original = original;
 }
Esempio n. 4
0
 public Node(TokenLocation location)
 {
     Location = location;
 }
Esempio n. 5
0
 public SemiStatementNode(Node statement, TokenLocation loc) : base(loc)
 {
     Statement = statement;
 }