Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kudchikarsk/bfaf7f5d67e99b956af59f118eefe45e to your computer and use it in GitHub Desktop.

Select an option

Save kudchikarsk/bfaf7f5d67e99b956af59f118eefe45e to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Example_02.NoIndention
{
class SyntaxToken
{
private string _text;
private int _position;
private int _kind;
public SyntaxToken(string text, int position, int kind)
{
_text = text;
_position = position;
_kind = kind;
}
public string Text => _text;
public int Postion => _position;
public int Kind => _kind;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment