Package com.singularsys.jeptests.system

# Class ModifiedParserTest

java.lang.Object
com.singularsys.jeptests.system.ModifiedParserTest

public class ModifiedParserTest extends Object
Tests for various custom grammars.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `ModifiedParserTest.BadFun`
  `static class`
  `ModifiedParserTest.SeqFun`
  Simple test class of a function which returns an array.
  `static class`
  `ModifiedParserTest.SuffixArrayAccessShuntingYard`
  A subclass of the ShuntingYard which can parse various forms of list element access.
  `static class`
  `ModifiedParserTest.SuffixArrayAccessShuntingYardGrammarParserFactory`
  Factory to create SuffixArrayAccessShuntingYard
  `static final class`
  `ModifiedParserTest.SuffixElePrintRule`
  A rule to correctly print suffix array access expressions

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final boolean`
  `PRINT_RESULTS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ModifiedParserTest()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `testBadFun()`
  `void`
  `testLatex()`
  Tests a Latex like grammar
  `void`
  `testMultLineString()`
  Test for string constants which can be broken over multiple lines.
  `void`
  `testOperatorsAsFunctions()`
  `void`
  `testSuffixArrayAccess()`

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

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

- ## Field Details

  - ### PRINT_RESULTS

    public static final boolean PRINT_RESULTS

- ## Constructor Details

  - ### ModifiedParserTest

    public ModifiedParserTest()

- ## Method Details

  - ### testOperatorsAsFunctions

    @Test public void testOperatorsAsFunctions() throws Exception
    Throws:
      `Exception`

  - ### testLatex

    @Test public void testLatex() throws Exception
    Tests a Latex like grammar
    Throws:
      `Exception`

  - ### testMultLineString

    @Test public void testMultLineString() throws Exception
    Test for string constants which can be broken over multiple lines.
    Throws:
      `Exception`
    See Also:
      - `MultiLineMatcher`

  - ### testBadFun

    @Test public void testBadFun() throws JepException
    Throws:
      `JepException`

  - ### testSuffixArrayAccess

    @Test public void testSuffixArrayAccess() throws JepException
    Throws:
      `JepException`