Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/rxm.git

Additional javadoc comments to compile cleanly.

Author Dave Jarvis <email>
Date 2015-03-14 16:12:59 GMT-0700
Commit 6d58f8ec54f99961924ab64fe234039796290dfe
Parent 9517f6f
source/java/com/whitemagicsoftware/rxm/tree/Tree.java
* The index returned is 0-based.
*
+ * @param payload The payload to find within this tree's branches.
* @return -1 if the payload doesn't exist.
*/
source/java/com/whitemagicsoftware/rxm/tree/xml/PayloadParserRuleContext.java
/**
* Returns the table associated with the payload.
+ *
+ * @return The table from the table map context.
*/
protected QueryParser.TableContext table() {
return getTableMapContext().table();
}
/**
* Returns the nearest parent table instance to this context.
+ *
+ * @return The nearest table from the parent's table map context.
*/
protected QueryParser.TableContext parentTable() {
/**
* Returns the nearest table context to this parser rule context.
+ *
+ * @return The tree payload's table map context.
*/
protected QueryParser.TableMapContext getParentTableMapContext() {
return (QueryParser.TableMapContext)getTreePayload().getParserRuleContext();
}
/**
* Returns the nearest table context to this parser rule context.
+ *
+ * @return The wrapped parser rule context's table map context.
*/
protected QueryParser.TableMapContext getTableMapContext() {
/**
* Returns the tree instance associated with this attribute map.
+ *
+ * @return The tree's payload.
*/
protected Payload getTreePayload() {
source/java/com/whitemagicsoftware/rxm/tree/xml/SelectClauseTree.java
* Returns the transformed syntax for beginning the payload item.
*
+ * @param tree The tree that has a payload that contains a token to
+ * transform into a string.
* @return A non-null string, possibly empty.
*/
protected String start( Tree<T> tree ) {
return start( tree.getPayload() );
}
/**
* Helper method for returning the start string.
*
+ * @param payload The payload that contains a token to transform into
+ * a string.
* @return The start string for the parsed item; possibly empty, never null.
*/
protected String start( Payload payload ) {
return start( payload.getStart() );
}
/**
* Helper method for returning the start string.
*
+ * @param token The token to transform into a string.
* @return The start string for the parsed item; possibly empty, never null.
*/
protected String start( Token token ) {
return token.toString();
}
/**
* Returns the transformed syntax for ending the payload item.
*
+ * @param tree The tree that has a payload that contains a token to
+ * transform into a string.
* @return A non-null string, possibly empty.
*/
protected String stop( Tree<T> tree ) {
return stop( tree.getPayload() );
}
/**
* Helper method for returning the stop string.
*
+ * @param payload The payload that contains a token to transform into
+ * a string.
* @return The stop string for the parsed item; possibly empty, never null.
*/
protected String stop( Payload payload ) {
return stop( payload.getStop() );
}
/**
* Helper method for returning the start string.
*
+ * @param token The token to transform into a string.
* @return The start string for the parsed item; possibly empty, never null.
*/
Delta 21 lines added, 0 lines removed, 21-line increase