public class org.antlr.v4.tool.LexerGrammar extends org.antlr.v4.tool.Grammar
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.LexerGrammar
super_class: org.antlr.v4.tool.Grammar
{
public static final java.lang.String DEFAULT_MODE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "DEFAULT_MODE"
public org.antlr.v4.tool.Grammar implicitLexerOwner;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.runtime.misc.MultiMap<java.lang.String, org.antlr.v4.tool.Rule> modes;
descriptor: Lorg/antlr/v4/runtime/misc/MultiMap;
flags: (0x0001) ACC_PUBLIC
Signature: Lorg/antlr/v4/runtime/misc/MultiMap<Ljava/lang/String;Lorg/antlr/v4/tool/Rule;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/antlr/v4/tool/LexerGrammar;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.antlr.v4.tool.LexerGrammar.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.antlr.v4.Tool, org.antlr.v4.tool.ast.GrammarRootAST);
descriptor: (Lorg/antlr/v4/Tool;Lorg/antlr/v4/tool/ast/GrammarRootAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.antlr.v4.tool.Grammar.<init>:(Lorg/antlr/v4/Tool;Lorg/antlr/v4/tool/ast/GrammarRootAST;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/LexerGrammar;
0 2 1 tool Lorg/antlr/v4/Tool;
0 2 2 ast Lorg/antlr/v4/tool/ast/GrammarRootAST;
MethodParameters:
Name Flags
tool
ast
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/LexerGrammar;
0 2 1 grammarText Ljava/lang/String;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
grammarText
public void <init>(java.lang.String, org.antlr.v4.tool.ANTLRToolListener);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/LexerGrammar;
0 2 1 grammarText Ljava/lang/String;
0 2 2 listener Lorg/antlr/v4/tool/ANTLRToolListener;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
grammarText
listener
public void <init>(java.lang.String, java.lang.String, org.antlr.v4.tool.ANTLRToolListener);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/LexerGrammar;
0 2 1 fileName Ljava/lang/String;
0 2 2 grammarText Ljava/lang/String;
0 2 3 listener Lorg/antlr/v4/tool/ANTLRToolListener;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
fileName
grammarText
listener
public boolean defineRule(org.antlr.v4.tool.Rule);
descriptor: (Lorg/antlr/v4/tool/Rule;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.antlr.v4.tool.Grammar.defineRule:(Lorg/antlr/v4/tool/Rule;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LexerGrammar.modes:Lorg/antlr/v4/runtime/misc/MultiMap;
ifnonnull 3
aload 0
new org.antlr.v4.runtime.misc.MultiMap
dup
invokespecial org.antlr.v4.runtime.misc.MultiMap.<init>:()V
putfield org.antlr.v4.tool.LexerGrammar.modes:Lorg/antlr/v4/runtime/misc/MultiMap;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LexerGrammar.modes:Lorg/antlr/v4/runtime/misc/MultiMap;
aload 1
getfield org.antlr.v4.tool.Rule.mode:Ljava/lang/String;
aload 1
invokevirtual org.antlr.v4.runtime.misc.MultiMap.map:(Ljava/lang/Object;Ljava/lang/Object;)V
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/LexerGrammar;
0 5 1 r Lorg/antlr/v4/tool/Rule;
MethodParameters:
Name Flags
r
public boolean undefineRule(org.antlr.v4.tool.Rule);
descriptor: (Lorg/antlr/v4/tool/Rule;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.antlr.v4.tool.Grammar.undefineRule:(Lorg/antlr/v4/tool/Rule;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LexerGrammar.modes:Lorg/antlr/v4/runtime/misc/MultiMap;
aload 1
getfield org.antlr.v4.tool.Rule.mode:Ljava/lang/String;
invokevirtual org.antlr.v4.runtime.misc.MultiMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
istore 2
start local 2 3: getstatic org.antlr.v4.tool.LexerGrammar.$assertionsDisabled:Z
ifne 4
iload 2
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/LexerGrammar;
0 5 1 r Lorg/antlr/v4/tool/Rule;
3 5 2 removed Z
MethodParameters:
Name Flags
r
}
SourceFile: "LexerGrammar.java"