15:02
[retailcoder/Rubberduck] ckuhn203 created pull request #146: Prepped changes to config for release to merge config into master
[retailcoder/Rubberduck] ckuhn203 merged pull request #146: Prepped changes to config for release from config into master
> Configuration no longer needs to be handled directly through the xml config file. Update Wiki.
https://github.com/retailcoder/Rubberduck/wiki/Todo-List
https://github.com/retailcoder/Rubberduck/wiki/Todo-List
[retailcoder/Rubberduck] ckuhn203 assigned ckuhn203 to issue #148: Add Code Inspections Page to Wiki
6 hours later…
21:43
[retailcoder/Rubberduck] retailcoder assigned retailcoder to issue #151: Implement ANTLR Listener class
> ANTLR generates a lexer and a parser for the supplied VB6 grammar file (.g4), as well as a `VisualBasic6BaseListener` base class that does essentially nothing.
Using a `ParseTreeWalker`, a listener implementation can help generating the `SyntaxTreeNode` objects that the rest of Rubberduck wants to work with.
A `VBTreeListener : VisualBasic6BaseListener` shall be implemented to override all grammar rules (base implementations do nothing), so as to read the tokens as the ParseTree is b...
Using a `ParseTreeWalker`, a listener implementation can help generating the `SyntaxTreeNode` objects that the rest of Rubberduck wants to work with.
A `VBTreeListener : VisualBasic6BaseListener` shall be implemented to override all grammar rules (base implementations do nothing), so as to read the tokens as the ParseTree is b...
eing traversed by the walker:
public SyntaxTreeNode Parse(string projectName, string componentName, string code)
{
var result = ParseInternal(code);
var walker = new ParseTreeWalker();
var listener = new VBTreeListener();
walker.Walk(listener, result);
//return new ModuleNode(projectName, componentName, null, false);
}
private IParseTree ParseInternal(string code)
...
public SyntaxTreeNode Parse(string projectName, string componentName, string code)
{
var result = ParseInternal(code);
var walker = new ParseTreeWalker();
var listener = new VBTreeListener();
walker.Walk(listener, result);
//return new ModuleNode(projectName, componentName, null, false);
}
private IParseTree ParseInternal(string code)
...
1 hour later…
23:20
« first day (226 days earlier) ← previous day next day → last day (2954 days later) »
Transcript for
Jan17
Jan '1518
Jan19
VBA Rubberducking
This chat has moved to Discord: discord.gg/MYX9RECenJ