org.eclipse.viatra.query.patternlanguage.emf.util

## Class PatternParsingUtil

- java.lang.Object
- - org.eclipse.viatra.query.patternlanguage.emf.util.PatternParsingUtil

-     public class PatternParsingUtil
      extends java.lang.Object

  Allows the caller to parse VIATRA query patterns provided in text format. IMPORTANT: This API class assumes that the Xtext parser infrastructure is already initialized. If its not, `ViatraQueryException` is thrown.
  Since:
    1.5

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `PPERROR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PatternParsingUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.List<IQuerySpecification<?>>` | `parsePatterns(java.lang.String patternString)`

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

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

- - ### Field Detail

    - #### PPERROR

          public static final java.lang.String PPERROR

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### PatternParsingUtil

          public PatternParsingUtil()

  - ### Method Detail

    - #### parsePatterns

          public static java.util.List<IQuerySpecification<?>> parsePatterns(java.lang.String patternString)
                                                                      throws ViatraQueryException

      Throws:
        `ViatraQueryException`