org.apache.tinkerpop.gremlin.groovy.jsr223

## Class GremlinScriptChecker

- java.lang.Object
- - org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinScriptChecker

-     public class GremlinScriptChecker
      extends Object

  Processes Gremlin strings using regex so as to try to detect certain properties from the script without actual having to execute a `eval()` on it.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `GremlinScriptChecker.Result`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static GremlinScriptChecker.Result` | `EMPTY_RESULT`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GremlinScriptChecker()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GremlinScriptChecker.Result` | `parse(String gremlin)` Parses a Gremlin script and extracts a `Result` containing properties that are relevant to the checker.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### EMPTY_RESULT

          public static final GremlinScriptChecker.Result EMPTY_RESULT

  - ### Constructor Detail

    - #### GremlinScriptChecker

          public GremlinScriptChecker()

  - ### Method Detail

    - #### parse

          public static GremlinScriptChecker.Result parse(String gremlin)

      Parses a Gremlin script and extracts a `Result` containing properties that are relevant to the checker.

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.