Search Results for

    Show / Hide Table of Contents

    Class RawToken

    Contains all information about a token. The main properties are the token content, and the token place (line and index)

    Inheritance
    System.Object
    RawToken
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.EPL.Lexer
    Assembly: Simplic.EPL.dll
    Syntax
    public class RawToken

    Constructors

    | Improve this Doc View Source

    RawToken(String, Tuple<Int32, Int32>, Tuple<Int32, Int32>)

    Create new token

    Declaration
    public RawToken(string content, Tuple<int, int> line, Tuple<int, int> index)
    Parameters
    Type Name Description
    System.String content

    Token content

    System.Tuple<System.Int32, System.Int32> line

    Start and end position of the token (line)

    System.Tuple<System.Int32, System.Int32> index

    Start and end position of the token (index/chars)

    Properties

    | Improve this Doc View Source

    Content

    Token content

    Declaration
    public string Content { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Index

    Start and end index of the token.

    Declaration
    public Tuple<int, int> Index { get; }
    Property Value
    Type Description
    System.Tuple<System.Int32, System.Int32>
    | Improve this Doc View Source

    Line

    Start and end line of the token

    Declaration
    public Tuple<int, int> Line { get; }
    Property Value
    Type Description
    System.Tuple<System.Int32, System.Int32>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx