/** * A Pragma is an instruction to the compiler to dynamically load the directives being specified * from the <code>DirectiveRegistry</code>. These do not affect the data flow. * * <p>E.g. <code>#pragma load-directives test1, test2, test3;</code> will collect the tokens * test1, test2 and test3 as dynamically loadable directives. <p> */ @Override public RecipeSymbol.Builder visitPragmaLoadDirective(DirectivesParser.PragmaLoadDirectiveContext ctx) { List<TerminalNode> identifiers = ctx.identifierList().Identifier(); for (TerminalNode identifier : identifiers) { builder.addLoadableDirective(identifier.getText()); } return builder; }