Updated sharpen annotations

This commit is contained in:
Sam Harwell 2013-02-17 15:23:38 -06:00
parent ef09ec8885
commit f0ef7a5a28
3 changed files with 6 additions and 39 deletions

View File

@ -34,9 +34,12 @@ namespace Antlr4.Runtime.Atn
{
public sealed class StarLoopbackState : ATNState
{
public StarLoopEntryState GetLoopEntryState()
public StarLoopEntryState LoopEntryState
{
return (StarLoopEntryState)Transition(0).target;
get
{
return (StarLoopEntryState)Transition(0).target;
}
}
public override Antlr4.Runtime.Atn.StateType StateType

View File

@ -193,42 +193,6 @@ namespace Antlr4.Runtime
return visitor.VisitChildren(this);
}
/// <summary>Save this tree in a postscript file</summary>
/// <exception cref="System.IO.IOException"></exception>
/// <exception cref="Javax.Print.PrintException"></exception>
public virtual void Save(Parser parser, string fileName)
{
IList<string> ruleNames = parser != null ? Arrays.AsList(parser.RuleNames) : null;
Save(ruleNames, fileName);
}
/// <summary>Save this tree in a postscript file using a particular font name and size
/// </summary>
/// <exception cref="System.IO.IOException"></exception>
public virtual void Save(Parser parser, string fileName, string fontName, int fontSize
)
{
IList<string> ruleNames = parser != null ? Arrays.AsList(parser.RuleNames) : null;
Save(ruleNames, fileName, fontName, fontSize);
}
/// <summary>Save this tree in a postscript file</summary>
/// <exception cref="System.IO.IOException"></exception>
/// <exception cref="Javax.Print.PrintException"></exception>
public virtual void Save(IList<string> ruleNames, string fileName)
{
Trees.WritePS(this, ruleNames, fileName);
}
/// <summary>Save this tree in a postscript file using a particular font name and size
/// </summary>
/// <exception cref="System.IO.IOException"></exception>
public virtual void Save(IList<string> ruleNames, string fileName, string fontName
, int fontSize)
{
Trees.WritePS(this, ruleNames, fileName, fontName, fontSize);
}
/// <summary>
/// Print out a whole tree, not just a node, in LISP format
/// (root child1 ..

@ -1 +1 @@
Subproject commit 7cb2b4c6841ec131fadca8e294668113943b91a4
Subproject commit 6ae81b1b8e2b827dadea9e34db365c99bbb93828