Exemplo n.º 1
0
 public FSMTokenVariable(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
     if (str.StartsWith(">"))
     {
         isSetter = true;
     }
     this.str = str;
 }
Exemplo n.º 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;
        }
    }
Exemplo n.º 3
0
 public FSMTokenTranstate(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
 }
Exemplo n.º 4
0
 protected FSMToken(string text, E_TokenType type, string name)
 {
     this.text = text;
     this.type = type;
     this.name = name;
 }
Exemplo n.º 5
0
 public FSMTokenEvent(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
     string dummy;
     ParseEvent(text, out dummy, out paramName);
 }
Exemplo n.º 6
0
 public FSMTokenInternalFunction(string str, E_TokenType type)
     : base(str, type, FSM.internalMethods)
 {
 }
Exemplo n.º 7
0
 public FSMTokenConstant(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
 }
Exemplo n.º 8
0
 public FSMTokenTimer(string str, E_TokenType type)
     : base(str, type, GetTokenName(str))
 {
 }