Getting error as unexpected identifier and error in class specification

In reply to dileep254:

HI jatin

Above is the uvm code what i have run and created .f file and i run the command vlog -f filelist.f and got the baove errors

+incdir+ …/dut/counter_2.sv
+incdir+ …/tb/interf.svh
+incdir+ …/tb/testlist.svh
+incdir+ …/tb/trasaction.svh
+incdir+ …/tb/sequence.svh
+incdir+ …/tb/my_sequencer.svh
+incdir+ …/tb/driver.svh
+incdir+ …/tb/agent.svh
+incdir+ …/tb/env.svh
+incdir+ …/tb/test.svh
+incdir+ …/tb/toptest.sv