Пример #1
0
 public FSMTokenVariable(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
     if (str.StartsWith(">"))
     {
         isSetter = true;
     }
     this.str = str;
 }
Пример #2
0
    public FSMTokenFunction(string str, E_TokenType type, TagMethodTable methodTable)
        : base(str, type, GetTokenName(str))
    {
        methodInfo = methodTable.GetMethodInfo(name);

        string temp = text;
        while (temp.StartsWith("!"))
        {
            temp = temp.Remove(0, 1);
            isNegative = !isNegative;
        }
    }
Пример #3
0
 public FSMTokenTranstate(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
 }
Пример #4
0
 protected FSMToken(string text, E_TokenType type, string name)
 {
     this.text = text;
     this.type = type;
     this.name = name;
 }
Пример #5
0
 public FSMTokenEvent(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
     string dummy;
     ParseEvent(text, out dummy, out paramName);
 }
Пример #6
0
 public FSMTokenInternalFunction(string str, E_TokenType type)
     : base(str, type, FSM.internalMethods)
 {
 }
Пример #7
0
 public FSMTokenConstant(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
 }
Пример #8
0
 public FSMTokenTimer(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
 }