MCPcopy Create free account

hub / github.com/THEONE10211024/ColorPhrase / functions

Functions33 in github.com/THEONE10211024/ColorPhrase

↓ 6 callersMethodconsume
Advances the current character position without any error checking. Consuming beyond the end of the string can only happen if this parser contains a b
src/com/medusa/lib/ColorPhrase.java:310
↓ 5 callersMethodgetLeftSeparator
()
src/com/medusa/lib/ColorPhrase.java:192
↓ 3 callersMethodgetFormattedStart
Returns the character index after expansion.
src/com/medusa/lib/ColorPhrase.java:342
↓ 2 callersMethodgetRightSeparator
()
src/com/medusa/lib/ColorPhrase.java:196
↓ 2 callersMethodtoString
Returns the raw pattern without expanding keys; only useful for debugging. Does not pass through to {@link #format()} because doing so would drop all
src/com/medusa/lib/ColorPhrase.java:320
↓ 1 callersMethodcheckPattern
check if the pattern has legal separators @return
src/com/medusa/lib/ColorPhrase.java:232
↓ 1 callersMethodcreateDoubleLinkWithToken
cut the pattern with the separators and linked them with double link structure;
src/com/medusa/lib/ColorPhrase.java:159
↓ 1 callersMethodexpand
Replace text in {@code target} with this token's associated value.
src/com/medusa/lib/ColorPhrase.java:336
↓ 1 callersMethodformat
Returns the text after replacing all keys with values. @throws IllegalArgumentException if any keys are not replaced.
src/com/medusa/lib/ColorPhrase.java:209
↓ 1 callersMethodfrom
Entry point into this API. @throws IllegalArgumentException if pattern contains any syntax errors.
src/com/medusa/lib/ColorPhrase.java:60
↓ 1 callersMethodgetFormattedLength
Returns the number of characters after expansion.
src/com/medusa/lib/ColorPhrase.java:339
↓ 1 callersMethodinner
(Token prev)
src/com/medusa/lib/ColorPhrase.java:254
↓ 1 callersMethodinnerColor
init the innerColor @param _innerColor @return
src/com/medusa/lib/ColorPhrase.java:150
↓ 1 callersMethodleftSeparator
Consumes and returns a token representing two consecutive curly brackets.
src/com/medusa/lib/ColorPhrase.java:294
↓ 1 callersMethodlookahead
Returns the next character in the input pattern without advancing.
src/com/medusa/lib/ColorPhrase.java:301
↓ 1 callersMethodouter
Consumes and returns a token for a sequence of text.
src/com/medusa/lib/ColorPhrase.java:282
↓ 1 callersMethodouterColor
init the outerColor @param _outerColor @return
src/com/medusa/lib/ColorPhrase.java:139
↓ 1 callersMethodtoken
Returns the next token from the input pattern, or null when finished parsing.
src/com/medusa/lib/ColorPhrase.java:177
↓ 1 callersMethodwithSeparator
set the separator of the target,called after from() method. @param _separator @return
src/com/medusa/lib/ColorPhrase.java:122
MethodColorPhrase
(CharSequence pattern)
src/com/medusa/lib/ColorPhrase.java:105
MethodInnerToken
(Token prev, String _inner, int _color)
src/com/medusa/lib/ColorPhrase.java:406
MethodLeftSeparatorToken
(Token prev, char _leftSeparator)
src/com/medusa/lib/ColorPhrase.java:382
MethodOuterToken
(Token prev, int textLength, int _color)
src/com/medusa/lib/ColorPhrase.java:358
MethodToken
(Token prev)
src/com/medusa/lib/ColorPhrase.java:329
Methodexpand
(SpannableStringBuilder target)
src/com/medusa/lib/ColorPhrase.java:364
Methodexpand
(SpannableStringBuilder target)
src/com/medusa/lib/ColorPhrase.java:387
Methodexpand
(SpannableStringBuilder target)
src/com/medusa/lib/ColorPhrase.java:412
MethodgetFormattedLength
()
src/com/medusa/lib/ColorPhrase.java:372
MethodgetFormattedLength
()
src/com/medusa/lib/ColorPhrase.java:393
MethodgetFormattedLength
()
src/com/medusa/lib/ColorPhrase.java:422
MethodonClick
(View v)
src/com/example/colorphrase/MainActivity.java:27
MethodonCreate
(Bundle savedInstanceState)
src/com/example/colorphrase/MainActivity.java:18
MethodonCreateOptionsMenu
(Menu menu)
src/com/example/colorphrase/MainActivity.java:36