public function registerElements(ICompiler $compiler)
    {
        $compiler->registerElement('success', new Style(Colors::BLACK, Colors::GREEN));
        $compiler->registerElement('info', new Style(Colors::GREEN));
        $compiler->registerElement('error', new Style(Colors::BLACK, Colors::YELLOW));
        $compiler->registerElement('fatal', new Style(Colors::WHITE, Colors::RED));
        $compiler->registerElement('question', new Style(Colors::WHITE, Colors::BLUE));
        $compiler->registerElement('comment', new Style(Colors::YELLOW));
        $compiler->registerElement('b', new Style(null, null, [TextStyles::BOLD]));
        $compiler->registerElement('u', new Style(null, null, [TextStyles::UNDERLINE]));
    }
public function registerElements(ICompiler $compiler)
    {
        $compiler->registerElement('success', new Style(Colors::BLACK, Colors::GREEN));
        $compiler->registerElement('info', new Style(Colors::GREEN));
        $compiler->registerElement('error', new Style(Colors::BLACK, Colors::YELLOW));
        $compiler->registerElement('fatal', new Style(Colors::WHITE, Colors::RED));
        $compiler->registerElement('question', new Style(Colors::WHITE, Colors::BLUE));
        $compiler->registerElement('comment', new Style(Colors::YELLOW));
        $compiler->registerElement('b', new Style(null, null, [TextStyles::BOLD]));
        $compiler->registerElement('u', new Style(null, null, [TextStyles::UNDERLINE]));
    }
public function registerElements ( ICompiler $ compiler ) { $ compiler -> registerElement ( 'success' , new Style ( Colors :: BLACK , Colors :: GREEN ) ) ; $ compiler -> registerElement ( 'info' , new Style ( Colors :: GREEN ) ) ; $ compiler -> registerElement ( 'error' , new Style ( Colors :: BLACK , Colors :: YELLOW ) ) ; $ compiler -> registerElement ( 'fatal' , new Style ( Colors :: WHITE , Colors :: RED ) ) ; $ compiler -> registerElement ( 'question' , new Style ( Colors :: WHITE , Colors :: BLUE ) ) ; $ compiler -> registerElement ( 'comment' , new Style ( Colors :: YELLOW ) ) ; $ compiler -> registerElement ( 'b' , new Style ( null , null , [ TextStyles :: BOLD ] ) ) ; $ compiler -> registerElement ( 'u' , new Style ( null , null , [ TextStyles :: UNDERLINE ] ) ) ; }
Registers the Apex elements

@param ICompiler $compiler The compiler to register to
Registers the Apex elements