forked from jasder/antlr
Include "new" modifier on interface methods
This commit is contained in:
parent
2e1d284a12
commit
f0cb48b650
|
@ -34,32 +34,32 @@ namespace Antlr4.Runtime
|
|||
{
|
||||
public interface IWritableToken : IToken
|
||||
{
|
||||
string Text
|
||||
new string Text
|
||||
{
|
||||
set;
|
||||
}
|
||||
|
||||
int Type
|
||||
new int Type
|
||||
{
|
||||
set;
|
||||
}
|
||||
|
||||
int Line
|
||||
new int Line
|
||||
{
|
||||
set;
|
||||
}
|
||||
|
||||
int Column
|
||||
new int Column
|
||||
{
|
||||
set;
|
||||
}
|
||||
|
||||
int Channel
|
||||
new int Channel
|
||||
{
|
||||
set;
|
||||
}
|
||||
|
||||
int TokenIndex
|
||||
new int TokenIndex
|
||||
{
|
||||
set;
|
||||
}
|
||||
|
|
|
@ -49,13 +49,13 @@ namespace Antlr4.Runtime.Tree
|
|||
/// </summary>
|
||||
public interface IParseTree : ISyntaxTree
|
||||
{
|
||||
IParseTree Parent
|
||||
new IParseTree Parent
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
// the following methods narrow the return type; they are not additional methods
|
||||
IParseTree GetChild(int i);
|
||||
new IParseTree GetChild(int i);
|
||||
|
||||
/// <summary>
|
||||
/// The
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace Antlr4.Runtime.Tree
|
|||
get;
|
||||
}
|
||||
|
||||
IRuleNode Parent
|
||||
new IRuleNode Parent
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace Antlr4.Runtime.Tree
|
|||
get;
|
||||
}
|
||||
|
||||
IRuleNode Parent
|
||||
new IRuleNode Parent
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue