Exemple #1
0
 public PythonParser()
 {
     GlobalTokens.Add(new NamespaceToken(new Regex(@"#Name (.*)")));
     LineTokens.Add(new VariableToken(new Regex(@"(\w*)\s?=\s?(.*)")));
 }
Exemple #2
0
 public JSParser()
 {
     GlobalTokens.Add(new NamespaceToken(new Regex(@"//Name (.*)")));
     LineTokens.Add(new VariableToken(new Regex(@"var\s(\w*)\s?=\s?(\w*);")));
 }