forked from jasder/antlr
Re-translate source with updated configuration
This commit is contained in:
parent
cb8124c929
commit
c15992da79
|
@ -1 +1 @@
|
|||
Subproject commit 851cd3ce131ac59782ba12bd95f6d1f694843e5b
|
||||
Subproject commit 5fb64ac91e36209b99e37a6356e66c41f5e50aab
|
|
@ -570,13 +570,13 @@ namespace Antlr4.Runtime
|
|||
/// <exception cref="System.NotSupportedException">
|
||||
/// if the current parser does not
|
||||
/// implement the
|
||||
/// <see cref="Recognizer{Symbol, ATNInterpreter}.GetSerializedATN()">Recognizer<Symbol, ATNInterpreter>.GetSerializedATN()</see>
|
||||
/// <see cref="Recognizer{Symbol, ATNInterpreter}.SerializedAtn()">Recognizer<Symbol, ATNInterpreter>.SerializedAtn()</see>
|
||||
/// method.
|
||||
/// </exception>
|
||||
[NotNull]
|
||||
public virtual ATN GetATNWithBypassAlts()
|
||||
{
|
||||
string serializedAtn = GetSerializedATN();
|
||||
string serializedAtn = SerializedAtn;
|
||||
if (serializedAtn == null)
|
||||
{
|
||||
throw new NotSupportedException("The current parser does not support an ATN with bypass alternatives.");
|
||||
|
|
|
@ -153,10 +153,12 @@ namespace Antlr4.Runtime
|
|||
/// <p>For interpreters, we don't know their serialized ATN despite having
|
||||
/// created the interpreter from it.</p>
|
||||
/// </remarks>
|
||||
[NotNull]
|
||||
public virtual string GetSerializedATN()
|
||||
public virtual string SerializedAtn
|
||||
{
|
||||
throw new NotSupportedException("there is no serialized ATN");
|
||||
get
|
||||
{
|
||||
throw new NotSupportedException("there is no serialized ATN");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>For debugging and other purposes, might want the grammar name.</summary>
|
||||
|
|
Loading…
Reference in New Issue