MCPcopy Create free account

hub / github.com/SeLite/SeLite / functions

Functions186 in github.com/SeLite/SeLite

↓ 26 callersMethodlength
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 callersMethodsequenceManager
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 callersMethodcharAt
( int index )
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:84
↓ 13 callersMethodallWasRead
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:121
↓ 12 callersMethodget
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 callersMethodinput
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 callersMethodbeforeMain
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:75
↓ 4 callersMethodclose
()
filter/src/com/googlecode/selite/filter/CharReader.java:113
↓ 4 callersMethodfilters
()
filter/src/com/googlecode/selite/filter/Usage.java:24
↓ 4 callersMethodfind
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 callersFunctionopenTab
( url )
shared/migrating_to_webextensions.js:49
↓ 4 callersMethodoutput
@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 callersMethodregisterSimple
@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 callersMethodstreams
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:80
↓ 3 callersMethodget
( Run run )
filter/src/com/googlecode/selite/filter/apps/Moodle.java:54
↓ 3 callersMethodgetAppValue
@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 callersMethodname
@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 callersMethodwrite
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 callersMethodadvance
@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 callersMethodcloseWriter
This flushes and closes the output stream.
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:184
↓ 2 callersMethodensureBuffer
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 callersMethodequals
( Object other )
filter/src/com/googlecode/selite/filter/Field.java:136
↓ 2 callersMethodinMemory
()
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:123
↓ 2 callersMethodmaxMatchLength
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 callersMethodopenWriter
( String fileName )
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:173
↓ 2 callersMethodprocessMultiple
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 callersMethodreadAppend
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 callersMethodregisterChoices
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 callersMethodrequiresAllInHeap
()
filter/src/com/googlecode/selite/filter/Usage.java:32
↓ 2 callersMethodrewindInput
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 callersMethodsetInput
( Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:45
↓ 2 callersMethodstream
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 callersMethodswap
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 callersFunctionupgradedToWebExtensions
( seLiteComponentExtensionID, previousInstalledVersion )
shared/migrating_to_webextensions.js:43
↓ 2 callersMethodwriter
This is null or not, depending on the implementation (subclass).
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:61
↓ 1 callersFunctionaddListenerForUpdate
()
shared/migrating_to_webextensions.js:6
↓ 1 callersMethodadvanceInput
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 callersMethodallWasRead
@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 callersMethodallWasRead
()
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:58
↓ 1 callersMethodbackslashEscapes
@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 callersMethodbuilder
()
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:33
↓ 1 callersMethodclazz
()
filter/src/com/googlecode/selite/filter/Field.java:51
↓ 1 callersMethodcreateParser
()
filter/src/com/googlecode/selite/filter/Run.java:144
↓ 1 callersMethodcreateReader
( File givenFile )
filter/src/com/googlecode/selite/filter/CharReader.java:57
↓ 1 callersMethodinitialise
( App app, Run run )
filter/src/com/googlecode/selite/filter/Filter.java:90
↓ 1 callersMethodinitialiseRun
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 callersMethodinitialiseSequenceManager
( Usage usage )
filter/src/com/googlecode/selite/filter/Run.java:78
↓ 1 callersMethodjobPattern
@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 callersMethodkeptTablePrefixes
@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 callersMethodkeptViewPrefixes
@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 callersFunctionloadScript
(scriptURL)
extension-sequencer-client/background.js:17
↓ 1 callersMethodmaxLengthToBuffer
()
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:54
↓ 1 callersMethodopenInput
( Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:96
↓ 1 callersMethodparsed
()
filter/src/com/googlecode/selite/filter/Run.java:142
↓ 1 callersMethodpattern
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 callersMethodpattern
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 callersMethodprocess
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 callersMethodprocess
( String args[] )
filter/src/com/googlecode/selite/filter/Run.java:165
↓ 1 callersMethodprocessAndCheck
( App app, Run run, int pastMatcheable )
filter/src/com/googlecode/selite/filter/Filter.java:32
↓ 1 callersMethodprocessFixedStart
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 callersMethodreflections
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 callersMethodregisterWithParser
( ArgumentParser parser )
filter/src/com/googlecode/selite/filter/Run.java:98
↓ 1 callersMethodremovedTablePrefixes
@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 callersMethodremovedViewPrefixes
@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 callersMethodreplacement
@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 callersMethodreset
( CharSequence sequence )
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:35
↓ 1 callersMethodsave
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 callersMethodscansOnly
@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 callersMethodsubSequence
( int start, int end )
filter/src/com/googlecode/selite/filter/CharSequenceContinuous.java:90
↓ 1 callersMethodtoString
()
filter/src/com/googlecode/selite/filter/Field.java:73
↓ 1 callersMethodwriteComplete
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
MethodCharReader
( Reader givenReader )
filter/src/com/googlecode/selite/filter/CharReader.java:38
MethodCharSequenceContinuous
@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
MethodCharSequenceManager
Not public - not to be subclassed outside the package.
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:50
MethodCharSequenceManagerContinuous
( String givenInputFileName, String givenOutputFileName, Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManagerContinuous.java:34
MethodCharSequenceManagerInMemory
( String givenInputFileName, String givenOutputFileName, Run run )
filter/src/com/googlecode/selite/filter/CharSequenceManagerInMemory.java:29
MethodDbField
()
filter/src/com/googlecode/selite/filter/Run.java:97
MethodExportTableName
()
filter/src/com/googlecode/selite/filter/apps/Moodle.java:44
MethodField
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
MethodFieldNonSingleton
The name needs to be unique among an actual subclass of FieldNonSingleton.
filter/src/com/googlecode/selite/filter/FieldNonSingleton.java:23
MethodFieldSingleton
( Class<T> givenClass, String givenName )
filter/src/com/googlecode/selite/filter/FieldSingleton.java:20
MethodFilterDataCleanup
()
filter/src/com/googlecode/selite/filter/FilterDataCleanup.java:27
MethodFilterDataSerial
()
filter/src/com/googlecode/selite/filter/FilterDataSerial.java:27
MethodFilterExtraNewLines
()
filter/src/com/googlecode/selite/filter/FilterExtraNewLines.java:26
MethodFilterGroup
@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
MethodFilterSchemaCleanup
()
filter/src/com/googlecode/selite/filter/FilterSchemaCleanup.java:87
MethodFilterSchemaSerial
()
filter/src/com/googlecode/selite/filter/FilterSchemaSerial.java:135
MethodFilterUnusedInserts
()
filter/src/com/googlecode/selite/filter/FilterUnusedInserts.java:28
MethodFilterUnusedTables
()
filter/src/com/googlecode/selite/filter/FilterUnusedTables.java:27
MethodFilterUnusedViews
()
filter/src/com/googlecode/selite/filter/FilterUnusedViews.java:27
MethodFixedStartResult
( int appendUpTo, int lastUnincludedIndex, int index )
filter/src/com/googlecode/selite/filter/FilterRemover.java:43
MethodGeneralVersion
@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
MethodHeapReserve
()
filter/src/com/googlecode/selite/filter/Run.java:114
MethodMaxMatchLength
()
filter/src/com/googlecode/selite/filter/App.java:49
MethodMoodle
()
filter/src/com/googlecode/selite/filter/apps/Moodle.java:33
MethodRemovedTableNamesPattern
()
filter/src/com/googlecode/selite/filter/App.java:33
MethodRemovedViewNamesPattern
()
filter/src/com/googlecode/selite/filter/App.java:43
MethodRun
()
filter/src/com/googlecode/selite/filter/Run.java:76
MethodShared
()
filter/src/com/googlecode/selite/filter/FilterSchemaSerial.java:33
MethodStreamSequence
( boolean beforeMain)
filter/src/com/googlecode/selite/filter/CharSequenceManager.java:70
next →1–100 of 186, ranked by callers