Esempio n. 1
0
 internal TokenContext()
 {
     ws_           = new WhiteSpaceState(this);
     ps_           = new PunctState(this);
     as_           = new AlphaState(this);
     dp_           = new DoublePunctState(this);
     ssc_          = new SingleSpecialChar(this);
     ccom_         = new CCommentsState(this);
     cpp_          = new CppCommentsState(this);
     dq_           = new DoubleQuoteState(this);
     po_           = new PoundState(this);
     currentState_ = ws_;
 }
Esempio n. 2
0
		internal TokenContext()
		{
			ws_ = new WhiteSpaceState(this);
			ps_ = new PunctState(this);
			as_ = new AlphaState(this);
			dq_ = new DoubleQuote(this);
			dp_ = new DoublePunct(this);
			cp_ = new CppComment(this);
			cc_ = new SingleLineComment(this);
			sc_ = new SingleSpecial(this);
			sq_ = new SpecialPound(this);

			currentState_ = ws_;
		}