public CSharpClassTokenizer(CSharpEnumTokenizer enumTokenizer)
 {
     _tokenizers[NodeType.Constructor] = new CSharpMethodTokenizer();
     _tokenizers[NodeType.Method]      = new CSharpMethodTokenizer();
     _tokenizers[NodeType.Property]    = new CSharpPropertyTokenizer();
     _tokenizers[NodeType.Enum]        = enumTokenizer;
     _tokenizers[NodeType.Class]       = this;
 }
Esempio n. 2
0
 public CSharpFileTokenizer()
 {
     _enumTokenizer  = new CSharpEnumTokenizer();
     _classTokenizer = new CSharpClassTokenizer(_enumTokenizer);
 }