org.usergrid.persistence.query.tree
Class StringLiteral

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.tree.CommonTree
          extended by org.usergrid.persistence.query.tree.Literal<String>
              extended by org.usergrid.persistence.query.tree.StringLiteral
All Implemented Interfaces:
org.antlr.runtime.tree.Tree

public class StringLiteral
extends Literal<String>

Author:
tnine

Field Summary
 
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, token
 
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
 
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
 
Constructor Summary
StringLiteral(String value)
           
StringLiteral(org.antlr.runtime.Token t)
           
 
Method Summary
 String getEndValue()
          If this were a string literal
 String getValue()
           
 
Methods inherited from class org.antlr.runtime.tree.CommonTree
dupNode, getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
 
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringLiteral

public StringLiteral(org.antlr.runtime.Token t)
Parameters:
t -

StringLiteral

public StringLiteral(String value)
Method Detail

getEndValue

public String getEndValue()
If this were a string literal

Returns:

getValue

public String getValue()
Specified by:
getValue in class Literal<String>


Copyright © 2013. All Rights Reserved.