//Make parser indentation-aware public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var options = OutlineOptions.ProduceIndents | OutlineOptions.CheckBraces | OutlineOptions.CheckOperator; var outlineFilter = new CodeOutlineFilter(language.GrammarData, options, null); filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.ProduceIndents | OutlineOptions.CheckBraces, ToTerm(@"\")); // "\" is continuation symbol filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { // Make the language a whitespaced one: this instructs the parse to insert whitespace tokens. var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.ProduceIndents | OutlineOptions.CheckOperator | OutlineOptions.CheckBraces, ToTerm(@"\")); filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { //base.CreateTokenFilters(language, filters); var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.ProduceIndents | OutlineOptions.CheckBraces, ToTerm(@"\")); filters.Add(outlineFilter); }
//Make parser indentation-aware public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var options = OutlineOptions.ProduceIndents | OutlineOptions.CheckBraces | OutlineOptions.CheckOperator; var outlineFilter = new CodeOutlineFilter(language.GrammarData,options,null); filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.None, null); filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { filters.Add(new IndentFilter(language.GrammarData, ToTerm(@"\"), ToTerm("{"), ToTerm("}"))); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { // Make the language a whitespaced one: this instructs the parse to insert whitespace tokens. var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.ProduceIndents | OutlineOptions.CheckOperator | OutlineOptions.CheckBraces, ToTerm(@"\")); filters.Add(outlineFilter); }
}//constructor public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.ProduceIndents, ToTerm(@"\")); filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { filters.Add(new BnfTokenFilter(this)); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { filters.Add(new IndentFilter(language.GrammarData, ToTerm(@"\"), ToTerm("{"),ToTerm("}"))); }
protected internal virtual void CreateTokenFilters(LanguageData language, TokenFilterList filters) { }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.None, null); filters.Add(outlineFilter); }
}//constructor public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { var outlineFilter = new CodeOutlineFilter(language.GrammarData, OutlineOptions.ProduceIndents | OutlineOptions.CheckBraces, ToTerm(@"\")); // "\" is continuation symbol filters.Add(outlineFilter); }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { base.CreateTokenFilters(language, filters); filters.Add(new AggregateFunctionTokenFilter()); }
public virtual void CreateTokenFilters(LanguageData language, TokenFilterList filters) { }
protected internal virtual void CreateTokenFilters(LanguageData language, TokenFilterList filters, ParsingContext context) { }
public virtual void CreateTokenFilters(LanguageData language, TokenFilterList filters) { }
public override void CreateTokenFilters(LanguageData language, TokenFilterList filters) { filters.Add(new BnfTokenFilter(this)); }