com.espertech.esper.epl.parse
Class ASTConstantHelper

java.lang.Object
  extended by com.espertech.esper.epl.parse.ASTConstantHelper

public class ASTConstantHelper
extends java.lang.Object

Parses constant strings and returns the constant Object.


Constructor Summary
ASTConstantHelper()
           
 
Method Summary
static java.lang.Object parse(org.antlr.v4.runtime.tree.ParseTree node)
          Parse the AST constant node and return Object value.
static java.lang.String removeTicks(java.lang.String tickedString)
          Remove tick '`' character from a string start and end.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTConstantHelper

public ASTConstantHelper()
Method Detail

removeTicks

public static java.lang.String removeTicks(java.lang.String tickedString)
Remove tick '`' character from a string start and end.

Parameters:
tickedString - delimited string
Returns:
delimited string with ticks removed, if starting and ending with tick

parse

public static java.lang.Object parse(org.antlr.v4.runtime.tree.ParseTree node)
Parse the AST constant node and return Object value.

Parameters:
node - - parse node for which to parse the string value
Returns:
value matching AST node type

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com