Class MustacheToken
java.lang.Object
org.pipservices3.expressions.mustache.parsers.MustacheToken
-
Constructor Summary
ConstructorsConstructorDescriptionMustacheToken
(MustacheTokenType type, String value, int line, int column) Creates an instance of a mustache token. -
Method Summary
-
Constructor Details
-
MustacheToken
Creates an instance of a mustache token.- Parameters:
type
- a token type.value
- a token value.line
- a line number where the token is.column
- a column numer where the token is.
-
-
Method Details
-
getType
Gets the token type. -
getValue
Gets the token value or variable name. -
getTokens
Gets a list of subtokens is this token a section. -
getLine
public int getLine()The line number where the token is. -
getColumn
public int getColumn()The column number where the token is.
-