public override void EnterFunctionDefinition(PhpParser.FunctionDefinitionContext context) { var codeBlock = context.codeBlock(); if (codeBlock != null) _outliningTrees.Add(context.codeBlock()); }
public override void EnterClassOrInterfaceDefinition(PhpParser.ClassOrInterfaceDefinitionContext context) { var codeBlock = context.codeBlock(); if (codeBlock != null) _outliningTrees.Add(context.codeBlock()); }