Search Results for

    Show / Hide Table of Contents

    Class IntToken

    Token type for integer tokens. This handles both Int32 and Int64.

    Inheritance
    object
    Token
    IntToken
    Inherited Members
    Token.LineNumber
    Token.obj
    Token.Object
    Token.UntermError
    Token.UntermErrorMsg
    Token.Equals(string)
    Token.Equals(char)
    Token.ToLineString()
    Token.ConvertToType(Type)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: RTools_NTS.Util
    Assembly: NetTopologySuite.dll
    Syntax
    public class IntToken : Token

    Constructors

    | Edit this page View Source

    IntToken(int)

    Constructor with the specified value.

    Declaration
    public IntToken(int i)
    Parameters
    Type Name Description
    int i
    | Edit this page View Source

    IntToken(int, int)

    Constructor with the specified value and line number.

    Declaration
    public IntToken(int i, int line)
    Parameters
    Type Name Description
    int i
    int line
    | Edit this page View Source

    IntToken(long)

    Constructor with the specified value.

    Declaration
    public IntToken(long i)
    Parameters
    Type Name Description
    long i
    | Edit this page View Source

    IntToken(long, int)

    Constructor for a 64 bit int

    Declaration
    public IntToken(long l, int line)
    Parameters
    Type Name Description
    long l
    int line
    | Edit this page View Source

    IntToken(string)

    Constructor with the specified value.

    Declaration
    public IntToken(string s)
    Parameters
    Type Name Description
    string s
    | Edit this page View Source

    IntToken(string, int)

    Constructor with the specified value and line number.

    Declaration
    public IntToken(string s, int line)
    Parameters
    Type Name Description
    string s
    int line

    Properties

    | Edit this page View Source

    StringValue

    Override, see base Token

    Declaration
    public override string StringValue { get; }
    Property Value
    Type Description
    string
    Overrides
    Token.StringValue

    Methods

    | Edit this page View Source

    Equals(object)

    Override, see base Token

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    Token.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Override, see base Token

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    Token.GetHashCode()
    | Edit this page View Source

    ParseHex(string, int)

    Parse a string known to be a hex string. This is faster than Parse which doesn't assume the number is Hex. This will throw an exception if the input number isn't hex.

    Declaration
    public static IntToken ParseHex(string s, int lineNumber)
    Parameters
    Type Name Description
    string s

    The hex number as a string.

    int lineNumber

    The line where this token was found.

    Returns
    Type Description
    IntToken

    A new IntToken set to the value in the input string.

    | Edit this page View Source

    ToDebugString()

    Override, see base Token

    Declaration
    public override string ToDebugString()
    Returns
    Type Description
    string
    Overrides
    Token.ToDebugString()
    | Edit this page View Source

    ToString()

    Override, see base Token

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX