private boolean isCalledAsFirstStepInAnonymousTraversal(final ParseTree stepToTest) {
        final ParseTree parent = stepToTest.getParent();
        final ParseTree parentParent = parent.getParent();
        final ParseTree firstStepOfNestedTraversal = parentParent.getChild(0).getChild(0);
        final ParseTree parentParentParent = parentParent.getParent();

        // the step is first if it matches the first step of the nested traversal and if the parent of the parent is
        // a nested traversal
        return stepToTest == firstStepOfNestedTraversal && parentParentParent instanceof GremlinParser.NestedTraversalContext;
    }
The default behavior for this method is to call {@link #processGremlinSymbol(String)} but there really isn't a
need to do that for C# because the mappings of the {@link SymbolHelper} don't apply to enums.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/DotNetTranslateVisitor.java