[antlr-interest] Could it be that the examples in the antlr-2.7.3 file are outdated?

Maassen, H.A.M. H.A.M.Maassen at student.tue.nl
Mon Oct 25 07:36:25 PDT 2004


I'm looking at the C# examples and get the following message when compiling the JAVA example (Examples/CSharp/Java): 'antlr.debug.misc.ASTFrame' does not contain a definition for 'ShowDialog'.
 
It might be me though, I'm new to both ANTLR and C# - but I figured I might as well ask :)
 
(code snippet:)

public static void doTreeAction(string f, AST t, string[] tokenNames)
{
  if (t == null)
  return ;
  if (showTree)
  {
    BaseAST.setVerboseStringConversion(true, tokenNames);
    ASTFactory factory = new ASTFactory();
    AST r = factory.create(0, "AST ROOT");
    r.setFirstChild(t);
    ASTFrame frame = new ASTFrame("Blaise AST", r);
    frame.ShowDialog();
    //frame.Visible = true;
    // System.out.println(t.toStringList());
  }
  ...

(/code snippet)



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4666 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20041025/f67b273f/attachment.bin


More information about the antlr-interest mailing list