org.jamon.parser
Class ArgsParser
java.lang.Object
org.jamon.parser.AbstractParser
org.jamon.parser.AbstractArgsParser
org.jamon.parser.ArgsParser
public class ArgsParser
- extends AbstractArgsParser
| Methods inherited from class org.jamon.parser.AbstractParser |
addError, addError, checkForTagClosure, checkToken, eofErrorMessage, parsePath, readAndAppendChar, readChar, readClassName, readIdentifier, readIdentifierOrThrow, readJava, readType, readUntil, soakWhitespace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOF_LOOKING_FOR_SEMI
public static final java.lang.String EOF_LOOKING_FOR_SEMI
- See Also:
- Constant Field Values
ArgsParser
public ArgsParser(PositionalPushbackReader p_reader,
ParserErrorsImpl p_errors,
org.jamon.api.Location p_tagLocation)
throws java.io.IOException,
ParserErrorImpl
- Throws:
java.io.IOException
ParserErrorImpl
getArgsNode
public ArgsNode getArgsNode()
makeArgsNode
protected AbstractArgsNode makeArgsNode(org.jamon.api.Location p_tagLocation)
- Specified by:
makeArgsNode in class AbstractArgsParser
postArgNameTokenError
protected java.lang.String postArgNameTokenError()
- Specified by:
postArgNameTokenError in class AbstractArgsParser
checkArgsTagEnd
protected void checkArgsTagEnd()
throws java.io.IOException
- Specified by:
checkArgsTagEnd in class AbstractArgsParser
- Throws:
java.io.IOException
handleDefaultValue
protected boolean handleDefaultValue(AbstractArgsNode argsNode,
ArgTypeNode argType,
ArgNameNode argName)
throws java.io.IOException,
ParserErrorImpl
- Description copied from class:
AbstractArgsParser
- Handle a default value for an arg; returns true if there is one.
- Specified by:
handleDefaultValue in class AbstractArgsParser
- Parameters:
argsNode - The parent node for the argumentargType - The argument typeargName - The argument name
- Returns:
- true if there was a default value
- Throws:
java.io.IOException
ParserErrorImpl
finishOpenTag
protected boolean finishOpenTag(org.jamon.api.Location p_tagLocation)
throws java.io.IOException
- Description copied from class:
AbstractArgsParser
- Finish processing the opening tag.
- Specified by:
finishOpenTag in class AbstractArgsParser
- Returns:
- true if there is more to process
- Throws:
java.io.IOException
jamon