예제 #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
파일: FSMToken.cs 프로젝트: pb0/ID0_Test
 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))
 {
 }