public class com.oracle.truffle.sl.test.SLParseErrorTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.sl.test.SLParseErrorTest
  super_class: java.lang.Object
{
  private org.graalvm.polyglot.Context context;
    descriptor: Lorg/graalvm/polyglot/Context;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;

  public void setUp();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 56
            aload 0 /* this */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            putfield com.oracle.truffle.sl.test.SLParseErrorTest.context:Lorg/graalvm/polyglot/Context;
         1: .line 57
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void tearDown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 61
            aload 0 /* this */
            aconst_null
            putfield com.oracle.truffle.sl.test.SLParseErrorTest.context:Lorg/graalvm/polyglot/Context;
         1: .line 62
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  public void testParseError();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 67
            ldc "sl"
            ldc "function testSyntaxError(a) {break;} function main() {return testSyntaxError;}"
            ldc "testSyntaxError.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 1 /* src */
        start local 1 // org.graalvm.polyglot.Source src
         1: .line 68
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLParseErrorTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 69
            ldc "Should not reach here."
            iconst_0
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
        end local 1 // org.graalvm.polyglot.Source src
         3: .line 70
            goto 7
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         5: .line 71
            ldc "Should be a syntax error."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isSyntaxError:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         6: .line 72
            ldc "Should have source section."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 74
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;
            1    3     1   src  Lorg/graalvm/polyglot/Source;
            5    7     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           0     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testParseErrorEmpty();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 79
            ldc "sl"
            ldc ""
            ldc "testSyntaxErrorEmpty.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 1 /* src */
        start local 1 // org.graalvm.polyglot.Source src
         1: .line 80
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLParseErrorTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 81
            ldc "Should not reach here."
            iconst_0
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
        end local 1 // org.graalvm.polyglot.Source src
         3: .line 82
            goto 7
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         5: .line 83
            ldc "Should be a syntax error."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isSyntaxError:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         6: .line 84
            ldc "Should have source section."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;
            1    3     1   src  Lorg/graalvm/polyglot/Source;
            5    7     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           0     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testParseErrorEOF1();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 91
            ldc "sl"
            ldc "function main"
            ldc "testSyntaxErrorEOF1.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 1 /* src */
        start local 1 // org.graalvm.polyglot.Source src
         1: .line 92
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLParseErrorTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 93
            ldc "Should not reach here."
            iconst_0
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
        end local 1 // org.graalvm.polyglot.Source src
         3: .line 94
            goto 7
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         5: .line 95
            ldc "Should be a syntax error."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isSyntaxError:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         6: .line 96
            ldc "Should have source section."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 98
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;
            1    3     1   src  Lorg/graalvm/polyglot/Source;
            5    7     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           0     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testParseErrorEOF2();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
         0: .line 103
            ldc "sl"
            ldc "function\n"
            ldc "testSyntaxErrorEOF2.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 1 /* src */
        start local 1 // org.graalvm.polyglot.Source src
         1: .line 104
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLParseErrorTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 105
            ldc "Should not reach here."
            iconst_0
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
        end local 1 // org.graalvm.polyglot.Source src
         3: .line 106
            goto 7
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         5: .line 107
            ldc "Should be a syntax error."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isSyntaxError:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         6: .line 108
            ldc "Should have source section."
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 110
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.sl.test.SLParseErrorTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/sl/test/SLParseErrorTest;
            1    3     1   src  Lorg/graalvm/polyglot/Source;
            5    7     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           0     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()
}
SourceFile: "SLParseErrorTest.java"
InnerClasses:
  public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source