java.lang.Object
fri.patterns.interpreter.parsergenerator.semantics.ReflectSemantic
de.mid.innovator.m2msdk.model.transformation.function.expressionparser.ParserRunCC
All Implemented Interfaces:
ParserInterface, fri.patterns.interpreter.parsergenerator.Semantic, Serializable

public class ParserRunCC extends fri.patterns.interpreter.parsergenerator.semantics.ReflectSemantic implements ParserInterface
Expressions are parsed in left and right term and in the properties. The client and server hold their own parsers. They are not synchronized but at program start. Implementation with RunCC.
Version:
11.1.0
Author:
jnagl
See Also:
  • Constructor Details

  • Method Details

    • parse

      public de.mid.innovator.m2msdk.model.transformation.function.expressionparser.ParseResult parse(String expression) throws M2MException
      Description copied from interface: ParserInterface
      Parse an expression with the known syntax.
      Specified by:
      parse in interface ParserInterface
      Parameters:
      expression - expression to parse
      Returns:
      parse result including errors
      Throws:
      M2MException
    • left_term

      public Object left_term(Object leftterm)
    • right_term

      public Object right_term(Object rightterm)
    • terms

      public Object terms(Object leftterm, Object equals, Object rightterm)
    • property_single

      public Object property_single(Object propertyType, Object LPAREN, Object property_parameters, Object RPAREN)
    • property_single

      public Object property_single(Object propertyType, Object LPAREN, Object RPAREN)
    • logicalExpression

      public Object logicalExpression(Object left, Object logicalOperator, Object right)
    • property_sequenced

      public Object property_sequenced(Object s1, Object dot, Object s2)
    • prop_constant

      public Object prop_constant(Object propertyValue)
    • doSemantic

      public Object doSemantic(fri.patterns.interpreter.parsergenerator.syntax.Rule rule, List inputTokens, List ranges)
      Specified by:
      doSemantic in interface fri.patterns.interpreter.parsergenerator.Semantic
      Overrides:
      doSemantic in class fri.patterns.interpreter.parsergenerator.semantics.ReflectSemantic