Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeLite/SeLite
/ functions
Functions
186 in github.com/SeLite/SeLite
⨍
Functions
186
◇
Types & classes
47
↓ 26 callers
Method
length
This returns length of the unprocessed bufferred part of the sequence, in characters (not bytes).
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:88
↓ 20 callers
Method
sequenceManager
Its result must not be cached by the client code, because sequenceManager can change (e.g. when reading from standard input, it may be CharSequenceMa
filter/src/com/googlecode/selite/filter/Run.java:62
↓ 15 callers
Method
charAt
( int index )
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:84
↓ 13 callers
Method
allWasRead
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:121
↓ 12 callers
Method
get
This calls field.get(this) once per field; then it caches the result. @return (cached) result of field.get(this)
filter/src/com/googlecode/selite/filter/Run.java:67
↓ 5 callers
Method
input
Its already-processed parts get discarded (and therefore its indexes change) on call to advance(int). It gets reassigned on calls to swap(), therefo
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:116
↓ 4 callers
Method
beforeMain
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:75
↓ 4 callers
Method
close
()
filter/src/com/googlecode/selite/filter/CharReader.java:113
↓ 4 callers
Method
filters
()
filter/src/com/googlecode/selite/filter/Usage.java:24
↓ 4 callers
Method
find
It searches for an arbitrary pattern. Use this instead with patterns that should only match once or a few times, and that may be located anywhere in
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:159
↓ 4 callers
Function
openTab
( url )
shared/migrating_to_webextensions.js:49
↓ 4 callers
Method
output
@return output buffer. It gets automatically flushed on calls to advance(int) and swap(). It may get reassigned on calls to swap() and write(int), th
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:104
↓ 4 callers
Method
registerSimple
@param optional if true, then this uses "--"+this.name() as the parameter name; otherwise it uses this.name()
filter/src/com/googlecode/selite/filter/Field.java:92
↓ 4 callers
Method
streams
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:80
↓ 3 callers
Method
get
( Run run )
filter/src/com/googlecode/selite/filter/apps/Moodle.java:54
↓ 3 callers
Method
getAppValue
@return Application-specific value of the field; null if not known. Used by filters etc. Subclasses should chain their implementation with parent's i
filter/src/com/googlecode/selite/filter/App.java:60
↓ 3 callers
Method
name
@return Non-null string name only for instances of FieldNonSingleton; null for instances of FieldSingleton.
filter/src/com/googlecode/selite/filter/Field.java:50
↓ 3 callers
Method
write
It writes (sub)sequence of output, its first lengthToWrite characters (if any), and it clears the respective subsequence in output. It may set this.
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:198
↓ 2 callers
Method
advance
@param advanceFromLastStart @param run @TODO remove all parameters? @return Whether it read and appended at least 1 character.
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:57
↓ 2 callers
Method
closeWriter
This flushes and closes the output stream.
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:184
↓ 2 callers
Method
ensureBuffer
This pre-fetches more characters (if any needed) into this.sequence, so that sequence contains at least maxLengthToBuffer characters. If the input f
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:70
↓ 2 callers
Method
equals
( Object other )
filter/src/com/googlecode/selite/filter/Field.java:136
↓ 2 callers
Method
inMemory
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:123
↓ 2 callers
Method
maxMatchLength
Maximum matcheable length, a maximum of maxMatchLength() across all Filter(s) applicable by given run. Only valid once set.
filter/src/com/googlecode/selite/filter/Run.java:52
↓ 2 callers
Method
openWriter
( String fileName )
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:173
↓ 2 callers
Method
processMultiple
Process given filter(s). Return the last value of pastMatcheable - i.e. the last non-negative value from processAndCheck() of the filter(s). If there
filter/src/com/googlecode/selite/filter/Filter.java:52
↓ 2 callers
Method
readAppend
It reads from inputReader and appends to this.input until the total appended length becomes equal to lengthToRead, or until all contents is read. It
filter/src/com/googlecode/selite/filter/CharReader.java:85
↓ 2 callers
Method
registerChoices
Register a list of choices. A commandline value will be matched against toString() of those choices, and a matched choice will be used. Since Run#get(
filter/src/com/googlecode/selite/filter/Field.java:113
↓ 2 callers
Method
requiresAllInHeap
()
filter/src/com/googlecode/selite/filter/Usage.java:32
↓ 2 callers
Method
rewindInput
It rewinds the input. Used mostly when reading application-specific Field<XXX> values. Only used at the beginning of the current stage before genera
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:135
↓ 2 callers
Method
setInput
( Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:45
↓ 2 callers
Method
stream
Get a StringBuffer for the given sequence, that gets generated before or after the main stream (depending on sequence.beforeMain). These streams are k
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:87
↓ 2 callers
Method
swap
This 1. saves the output of the previous stage 2. reloads the output of the previous stage as in input of the new stage 2. 'rewinds' the input to s
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:166
↓ 2 callers
Function
upgradedToWebExtensions
( seLiteComponentExtensionID, previousInstalledVersion )
shared/migrating_to_webextensions.js:43
↓ 2 callers
Method
writer
This is null or not, depending on the implementation (subclass).
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:61
↓ 1 callers
Function
addListenerForUpdate
()
shared/migrating_to_webextensions.js:6
↓ 1 callers
Method
advanceInput
Advance the input buffer, write and clear output buffer. @param advanceFromLastStart Must be positive. @return Whether it read and appended at least 1
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:129
↓ 1 callers
Method
allWasRead
@return True if all character(s) were loaded from the file. It may be false even though though there are no more characters in the file - that would
filter/src/com/googlecode/selite/filter/CharReader.java:55
↓ 1 callers
Method
allWasRead
()
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:58
↓ 1 callers
Method
backslashEscapes
@return true If and only if this is called before FilterBackslashQuote - i.e. return true only in FilterComments.
filter/src/com/googlecode/selite/filter/FilterRemover.java:68
↓ 1 callers
Method
builder
()
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:33
↓ 1 callers
Method
clazz
()
filter/src/com/googlecode/selite/filter/Field.java:51
↓ 1 callers
Method
createParser
()
filter/src/com/googlecode/selite/filter/Run.java:144
↓ 1 callers
Method
createReader
( File givenFile )
filter/src/com/googlecode/selite/filter/CharReader.java:57
↓ 1 callers
Method
initialise
( App app, Run run )
filter/src/com/googlecode/selite/filter/Filter.java:90
↓ 1 callers
Method
initialiseRun
Put any custom Field entries into run.appFields() as appropriate for version indicated by version().
filter/src/com/googlecode/selite/filter/App.java:24
↓ 1 callers
Method
initialiseSequenceManager
( Usage usage )
filter/src/com/googlecode/selite/filter/Run.java:78
↓ 1 callers
Method
jobPattern
@return Regular expression pattern, which - will be used with | (pattern to preserve string literals) - works with Pattern.COMMENTS (i.e. whitespaces
filter/src/com/googlecode/selite/filter/FilterReplacePreserveLiterals.java:50
↓ 1 callers
Method
keptTablePrefixes
@return a new instance on each call, and a mutable one. If implemented in 1st level subclass, then 2nd level and deeper subclasses can override this
filter/src/com/googlecode/selite/filter/AppListedTables.java:81
↓ 1 callers
Method
keptViewPrefixes
@return a new instance on each call, and a mutable one. If implemented in 1st level subclass, then 2nd level and deeper subclasses can override this
filter/src/com/googlecode/selite/filter/AppListedTables.java:97
↓ 1 callers
Function
loadScript
(scriptURL)
extension-sequencer-client/background.js:17
↓ 1 callers
Method
maxLengthToBuffer
()
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:54
↓ 1 callers
Method
openInput
( Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:96
↓ 1 callers
Method
parsed
()
filter/src/com/googlecode/selite/filter/Run.java:142
↓ 1 callers
Method
pattern
It must not depend on end of file (\z). The longest possible match should be not longer than maxMatchLength(). It' not called before #initialise(App,
filter/src/com/googlecode/selite/filter/FilterReplace.java:30
↓ 1 callers
Method
pattern
I don't use Pattern.MULTILINE, because I only register a match starting exactly at my given index, not any further in the input.
filter/src/com/googlecode/selite/filter/FilterRemoverByPattern.java:26
↓ 1 callers
Method
process
It processes the input, available through run.sequenceManager().input(), filtering it, writing/modifying any accepted parts to run.sequenceManager().
filter/src/com/googlecode/selite/filter/Filter.java:30
↓ 1 callers
Method
process
( String args[] )
filter/src/com/googlecode/selite/filter/Run.java:165
↓ 1 callers
Method
processAndCheck
( App app, Run run, int pastMatcheable )
filter/src/com/googlecode/selite/filter/Filter.java:32
↓ 1 callers
Method
processFixedStart
This detects whether any subsequence starting right from given index is to be removed or not; if yes, then how long it is. @param index Where to start
filter/src/com/googlecode/selite/filter/FilterRemover.java:64
↓ 1 callers
Method
reflections
This gets Reflections object, which scans the classes in your implementation. Run.process(String[]) uses it to locate custom subclasses of Field clas
filter/src/com/googlecode/selite/filter/Run.java:157
↓ 1 callers
Method
registerWithParser
( ArgumentParser parser )
filter/src/com/googlecode/selite/filter/Run.java:98
↓ 1 callers
Method
removedTablePrefixes
@return a new instance on each call, and a mutable one. If implemented in 1st level subclass, then 2nd level and deeper subclasses can override this
filter/src/com/googlecode/selite/filter/AppListedTables.java:74
↓ 1 callers
Method
removedViewPrefixes
@return a new instance on each call, and a mutable one. If implemented in 1st level subclass, then 2nd level and deeper subclasses can override this
filter/src/com/googlecode/selite/filter/AppListedTables.java:88
↓ 1 callers
Method
replacement
@return Replacement pattern that has back-references to groups captured by pattern returned from pattern(), e.g. "$1".
filter/src/com/googlecode/selite/filter/FilterReplace.java:34
↓ 1 callers
Method
reset
( CharSequence sequence )
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:35
↓ 1 callers
Method
save
It saves the final output. It also prepends/appends any entries from streams() in their appropriate order.
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:171
↓ 1 callers
Method
scansOnly
@return Whether this filters scans the input only, without transforming/deleting/adding anything to the output. Filter.process(App,Run,int) returns a
filter/src/com/googlecode/selite/filter/Filter.java:45
↓ 1 callers
Method
subSequence
( int start, int end )
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:90
↓ 1 callers
Method
toString
()
filter/src/com/googlecode/selite/filter/Field.java:73
↓ 1 callers
Method
writeComplete
It writes a completely processed (sub)sequence of the output. To be used by client (Run).
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:211
Method
CharReader
( Reader givenReader )
filter/src/com/googlecode/selite/filter/CharReader.java:38
Method
CharSequenceContinuous
@param fileName It must not be cached between stages of processing, since its length may change. @TODO remove all parameters?
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:43
Method
CharSequenceManager
Not public - not to be subclassed outside the package.
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:50
Method
CharSequenceManagerContinuous
( String givenInputFileName, String givenOutputFileName, Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:34
Method
CharSequenceManagerInMemory
( String givenInputFileName, String givenOutputFileName, Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManagerInMemory.java:29
Method
DbField
()
filter/src/com/googlecode/selite/filter/Run.java:97
Method
ExportTableName
()
filter/src/com/googlecode/selite/filter/apps/Moodle.java:44
Method
Field
Non-public. We only allow two direct subclasses - FieldSingleton and FieldNonSingleton, which both enforce contract of equals(Object) and hashCode().
filter/src/com/googlecode/selite/filter/Field.java:59
Method
FieldNonSingleton
The name needs to be unique among an actual subclass of FieldNonSingleton.
filter/src/com/googlecode/selite/filter/FieldNonSingleton.java:23
Method
FieldSingleton
( Class<T> givenClass, String givenName )
filter/src/com/googlecode/selite/filter/FieldSingleton.java:20
Method
FilterDataCleanup
()
filter/src/com/googlecode/selite/filter/FilterDataCleanup.java:27
Method
FilterDataSerial
()
filter/src/com/googlecode/selite/filter/FilterDataSerial.java:27
Method
FilterExtraNewLines
()
filter/src/com/googlecode/selite/filter/FilterExtraNewLines.java:26
Method
FilterGroup
@param dbs Array of Db that this will work for. @param filtersMatrix Matrix, with array(s) of Filter(s) in the same order as respective Db objects in
filter/src/com/googlecode/selite/filter/FilterGroup.java:30
Method
FilterSchemaCleanup
()
filter/src/com/googlecode/selite/filter/FilterSchemaCleanup.java:87
Method
FilterSchemaSerial
()
filter/src/com/googlecode/selite/filter/FilterSchemaSerial.java:135
Method
FilterUnusedInserts
()
filter/src/com/googlecode/selite/filter/FilterUnusedInserts.java:28
Method
FilterUnusedTables
()
filter/src/com/googlecode/selite/filter/FilterUnusedTables.java:27
Method
FilterUnusedViews
()
filter/src/com/googlecode/selite/filter/FilterUnusedViews.java:27
Method
FixedStartResult
( int appendUpTo, int lastUnincludedIndex, int index )
filter/src/com/googlecode/selite/filter/FilterRemover.java:43
Method
GeneralVersion
@param String givenVersion must not start with 0 (unless it's the only 0 in front of a decimal dot), otherwise if another Version instance is created
filter/src/com/googlecode/selite/filter/GeneralVersion.java:40
Method
HeapReserve
()
filter/src/com/googlecode/selite/filter/Run.java:114
Method
MaxMatchLength
()
filter/src/com/googlecode/selite/filter/App.java:49
Method
Moodle
()
filter/src/com/googlecode/selite/filter/apps/Moodle.java:33
Method
RemovedTableNamesPattern
()
filter/src/com/googlecode/selite/filter/App.java:33
Method
RemovedViewNamesPattern
()
filter/src/com/googlecode/selite/filter/App.java:43
Method
Run
()
filter/src/com/googlecode/selite/filter/Run.java:76
Method
Shared
()
filter/src/com/googlecode/selite/filter/FilterSchemaSerial.java:33
Method
StreamSequence
( boolean beforeMain)
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:70
next →
1–100 of 186, ranked by callers