JGR MSTS Editors and Tools
SimisToken Class
NamespacesJgr.IO.ParserSimisToken

[This is preliminary documentation and is subject to change.]

Represents a single token found in a Simis stream.
Declaration Syntax
C#Visual BasicVisual C++
public class SimisToken
Public Class SimisToken
public ref class SimisToken
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SimisToken()()()()
Equals(Object) (Inherited from Object.)
FieldGetter(String, String, Object%) (Inherited from Object.)
FieldSetter(String, String, Object) (Inherited from Object.)
Finalize()()()() (Inherited from Object.)
Float
GetFieldInfo(String, String) (Inherited from Object.)
GetHashCode()()()() (Inherited from Object.)
GetType()()()() (Inherited from Object.)
IntegerDWord
IntegerSigned
IntegerUnsigned
Kind
MemberwiseClone()()()() (Inherited from Object.)
Name
String
ToString()()()() (Overrides Object.ToString()()()().)
Type
Remarks

A token always has a Kind, but the other properties vary by SimisTokenKind:

  • For Block, a Type is always set, and a Name might be set.
  • For BlockBegin, no other properties will be set.
  • For BlockEnd, no other properties will be set.
  • For String, Type is set to "string" and String contains the string literal found. If the token is named in the BNF, Name will be set to that name.
  • For IntegerUnsigned, Type is set to "uint" and IntegerUnsigned contains the numeric literal found. If the token is named in the BNF, Name will be set to that name.
  • For IntegerSigned, Type is set to "sint" and IntegerSigned contains the numeric literal found. If the token is named in the BNF, Name will be set to that name.
  • For IntegerDWord, Type is set to "dword" and IntegerDWord contains the numeric literal found. If the token is named in the BNF, Name will be set to that name.
  • For IntegerWord, Type is set to "word" and IntegerDWord contains the numeric literal found. If the token is named in the BNF, Name will be set to that name.
  • For IntegerByte, Type is set to "byte" and IntegerDWord contains the numeric literal found. If the token is named in the BNF, Name will be set to that name.
  • For Float, Type is set to "float" and Float contains the numeric literal found. If the token is named in the BNF, Name will be set to that name.
Inheritance Hierarchy
Object
SimisToken

Assembly: JGR.IO.Parser (Module: JGR.IO.Parser) Version: 0.5.4008.31682