All files / src/abap/3_structures/structures any.ts

100% Statements 45/45
100% Branches 1/1
100% Functions 1/1
100% Lines 45/45

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 451x 1x 1x 1x 1x 1x 1x 1x 1x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 1x 1x
import {star, sub, alt, sta} from "./_combi";
import * as Structures from ".";
import * as Statements from "../../2_statements/statements";
import {IStructure} from "./_structure";
import {IStructureRunnable} from "./_structure_runnable";
 
export class Any implements IStructure {
 
  public getMatcher(): IStructureRunnable {
 
    return star(alt(sta(Statements.ClassLocalFriends),
                    sta(Statements.ClassDeferred),
                    sta(Statements.Report),
                    sta(Statements.Program),
                    sta(Statements.Parameter),
                    sta(Statements.CheckSelectOptions),
                    sta(Statements.Get),
                    sta(Statements.Initialization),
                    sta(Statements.InterfaceDeferred),
                    sta(Statements.SelectionScreen),
                    sta(Statements.SelectOption),
                    sta(Statements.AtSelectionScreen),
                    sta(Statements.AtLineSelection),
                    sta(Statements.AtPF),
                    sta(Statements.AtUserCommand),
                    sta(Statements.StartOfSelection),
                    sta(Statements.EndOfSelection),
                    sta(Statements.LoadOfProgram),
                    sta(Statements.TopOfPage),
                    sta(Statements.EndOfPage),
                    sta(Statements.Controls),
                    sta(Statements.TypePools),
                    sta(Statements.TypePool),
                    sta(Statements.FunctionPool),
                    sub(Structures.Normal),
                    sub(Structures.Form),
                    sub(Structures.Module),
                    sub(Structures.FunctionModule),
                    sub(Structures.Interface),
                    sub(Structures.ClassDefinition),
                    sub(Structures.ClassImplementation)));
 
  }
 
}