Home
last modified time | relevance | path

Searched full:we (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/
DParserATNSimulator.php44 * We begin with ATN simulation to build paths in a DFA. Subsequent prediction
50 * All of that is done without using the outer context because we want to create
51 * a DFA that is not dependent upon the rule invocation stack when we do a
52 * prediction. One DFA works in all contexts. We avoid using context not
57 * stacks in the configurations. When lack of context leads to a conflict, we
61 * When SLL yields a configuration set with conflict, we rewind the input and
64 * from the start rule. If we get a conflict using full context, then we can
65 * definitively say we have a true ambiguity for that input sequence. If we
70 * The next time we reach this DFA state with an SLL conflict, through DFA
71 * simulation, we will again retry the ATN simulation using full context mode.
[all …]
DPredictionMode.php109 * As a heuristic, we stop prediction when we see any conflicting subset
110 * unless we see a state that only has one alternative associated with it.
118 * `12|1|[]` and `12|2|[]` conflict, but we cannot stop processing this
123 * After matching input A, we reach the stop state for rule A, state 1.
126 * However, alternative 3 will be able to continue and so we do not stop
127 * working on this state. In the previous example, we're concerned with
129 * associated with the conflicting configs, but since we can continue
134 * To handle pure SLL parsing, all we have to do is make sure that we
136 * predicate. From there, we can do the usual SLL termination heuristic.
148 * semantic predicate contexts so we might see two configurations like the
[all …]
DATNSimulator.php14 * in all ATNConfigs in all DFA states. We rebuild each ATNConfigSet
15 * to use only cached nodes/graphs in addDFAState(). We don't want to
21 * at the end from 25M to 16M. We don't store any of the full context
23 * but apparently there's a lot of repetition there as well. We optimize
40 * in all ATNConfigs in all DFA states. We rebuild each ATNConfigSet
41 * to use only cached nodes/graphs in addDFAState(). We don't want to
47 * at the end from 25M to 16M. We don't store any of the full context
49 * but apparently there's a lot of repetition there as well. We optimize
DSimState.php10 * When we hit an accept state in either the DFA or the ATN, we
18 * We track these variables separately for the DFA and ATN simulation
20 * simulation. If the ATN simulation fails, we need the DFA to fall
DLexerATNSimulator.php43 * DFA did not have a previous accept state. In this case, we use the
206 // As we move src->trg, src->trg, we keep track of the previous trg to
208 // If the previous target was already part of the DFA, we might
211 // creating a DFA state. Once we know s!=null, we check to see if
212 // the DFA state has an edge already for t. If so, we can just reuse
216 // computing reach/closure sets. Technically, once we know that
217 // we have a previously added DFA state, we could jump over to
299 // if we don't find an existing DFA state
304 // we got nowhere on t from s
306 // we got nowhere on t, don't throw out this knowledge; it'd
[all …]
DATNConfig.php46 * with this config. We track only those contexts pushed during
54 * We cannot execute predicates dependent upon local context unless
55 * we know for sure we are in the correct context. Because there is
56 * no way to do this efficiently, we simply cannot evaluate
57 * dependent predicates unless we are in the rule that initially
60 * closure() tracks the depth of how far we dip into the outer context:
DATNConfigSet.php29 * we've made this readonly.
37 * when we go readonly as this set becomes a DFA state.
54 * Currently this is only used when we detect SLL conflict; this does
64 * Used in parser and lexer. In lexer, it indicates we hit a pred
89 * The reason that we need this is because we don't want the hash map to
90 * use the standard hash code and equals. We need all configurations with
95 * not including context. Wiped out when we go readonly as this se
132 * We use `(s,i,pi)` as key.
178 // since only way to create new graphs is "call rule" and here. We
/template/strap/ComboStrap/
DFetcherRaster.php94 * but dokuwiki does, we need to add the with and height dimension
100 * Note that we takes the target value
102 * ie if we set the height and then calculatiing the target width, we will get
136 * We check the existence of the file at build time
137 * because when we build the url, we make it at several breakpoints.
138 * We therefore needs the intrinsic dimension (height and weight)
148 // We don't throw as we want to be able to build
164 …throw new ExceptionBadSyntax("We couldn't retrieve the type and dimensions of the image ($this). T…
168 …throw new ExceptionBadSyntax("We couldn't retrieve the width of the image ($this)", self::CANONICA…
172 …throw new ExceptionBadSyntax("We couldn't retrieve the height of the image ($this)", self::CANONIC…
[all …]
DMasonryTag.php21 * This is how we recognize a tag in the {@link \ComboStrap\CallStack}
38 * In Bootstrap5, to support card-columns, we need masonry javascript and
40 * We close it as seen here:
52 * directly, we need to add a column
53 * and we close it here
72 * directly, we need to add a column around the children {@link syntax_plugin_combo_card} and
112 // No support for 5, we use Bs with their example
DExceptionExit.php13 * we exit
15 * We can then test
16 * if we receive the wanted exception
DFetcherMarkup.php30 * from the outside but to be able to use the {@link FetcherCache} we need to.
118 …* @var Path the source path of the markup (may be not set if we render a markup string for instanc…
128 * Fighting file modified time, even if we cache has been stored,
160 * @param Path $executingPath - the path where we can find the markup
210 * and we need to know the original request path that is in the parent run.
220 LogUtility::warning("A markup handler is not running, we couldn't create a child.");
258 * We may have other calls due for instance
324 * TODO: split We should split fetcherMarkup by object type output and {@link Mime}
341 * we need to set the execution id)
366 * We set the environment because
[all …]
DCallStack.php66 * if we have gone to far in the stack
70 * If true, we are at the offset: end of th array + 1
74 * If true, we are at the offset: start of th array - 1
264 …* @param mixed|Doku_Handler $handler - mixed because we test if the handler passed is not the good…
314 * if there is a eol as, we delete it
315 * otherwise we may end up with two eol
374 … // should not happen because we check that we are not at the start/end of the stack
388 // should not happen because we check that we are at the start/end of the stack
422 * Check if we are at the end of the stack
596 // we move it to the actual element (ie the key is offset +1)
[all …]
DPipelineTag.php24 * As it's deprecated we don't create a special
26 * We just do this hack where we capture the double quote opening
DSqlite.php74 * because when we create a new instance, it will open the
171 * TODO: We had added the `rowid` on all query
182 * @throws ExceptionFileSystem - if we can delete the databases
324 * We may also open it again
332 * In test, we are running in different context (ie different root
335 * Because a sql file may be deleted, we may get:
339 * To avoid this error, we check that we are still in the same metadir
340 * where the sqlite database is stored. If not, we create a new instance
349 // we are still in a class run
364 * If we don't do that, the file is still locked
DRouter.php44 * function, that's why we check against the {@link $_REQUEST}
77 * We test therefore if the database page id exists
101 * We let it here because we don't know for sure that it will stay this way
143 * If the url canonical id has changed, we show it
169 // We let the process go with the new identifier
220 * Do we have a page rules
246 …* We are still a reader, the redirection does not exist the user is not allowed to edit the page …
253 // We are reader and their is no redirection set, we apply the algorithm
389 * function, that's why we have this function
398 // We may get a `/` as first character
[all …]
/template/strap/vendor/antlr/antlr4-php-runtime/src/Dfa/
DDFAState.php23 * ATN could be in. We need to track the alt predicted by each
24 * state as well, however. More importantly, we need to maintain
58 * If accept state, what ttype do we match or alt do we predict?
81 * ATN configurations of the DFA state. When we have predicates,
86 * We only use these for non-{@see DFAState::$requiresFullContext} bu
87 * conflicting states. That means we know from the context (it's $ or we
111 * {@see ParserATNSimulator::addDFAState()} we need to know if any other state
/template/strap/vendor/antlr/antlr4-php-runtime/src/
DParserRuleContext.php28 * add a ctor to this so that we can pass in and store the input stream,
29 * but I'm not sure we want to do that. It would seem to be undefined to get
40 * If we are debugging or building a parse tree for a visitor,
41 * we need to track all of the tokens and rule invocations associated
43 * operation because we don't the need to track the details about
44 * how we parse this rule.
73 * If we do an error sync() at start of a rule, we might add error nodes
127 * We cannot set the parent pointer of the incoming node
144 * we entered a rule. If we have # label, we will need to remove
/template/strap/action/
Djs.php15 // we don't known if we are in the admin or public interface
16 // we add them to the js href the below query key
33 // To get only the script that we need
75 * We then use it here also as hardcoded
85 // The directory path for the plugin script (we need to keep them)
88 // Script that we want on the show page
109 // This is a plugin script, we keep it
Dsnippets.php26 * To known if we needs to put all snippet in the content
57 * We use
125 …LogUtility::error("We couldn't get the attributes of the snippet ($snippet). It has been skipped. …
162 * We don't add any component at this moment
203 * In admin page, as we don't know the source of the processing text
205 * We may have several times the same global request slot
207 * We can't make the difference.
209 * For now, we add therefore only the snippet for the slots.
Dsnippetsbootstrap.php78 // but we know it only now and this is fun to experience for the user
90 * We get that for instance for css animation style sheet
122 * Do we delete the dokuwiki javascript ?
216 * We take the Javascript of Bootstrap
229 // We take the Jqueries of doku and we add Bootstrap
231 // We had popper of Bootstrap
233 // We had the js of Bootstrap
239 // We had the js of Bootstrap and popper
Dindexer.php49 * Bad canonical for now as we will add the
59 * We do it after because if there is an error
60 * We will not stop the Dokuwiki Processing
62 * We could do it after
66 * Note: We support other extension for markup
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/SemanticContexts/
DSemanticContext.php69 * For context independent predicates, we evaluate them without a local
70 * context (i.e., null context). That way, we can evaluate them without
75 * For context dependent predicates, we must pass in a local context so that
76 * references such as $arg evaluate properly as _localctx.arg. We only
77 * capture context dependent predicates in the context in which we begin
78 * prediction, so we passed in the outer context here in case of context
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/Transitions/
DTransition.php18 * Since we never have to change the ATN transitions once we construct it,
19 * we can fix these transitions as specific classes. The DFA transitions
21 * the states. We'll use the term Edge for the DFA to distinguish them from
/template/strap/vendor/antlr/antlr4-php-runtime/src/Error/
DDefaultErrorStrategy.php139 // if we've already reported an error and have not matched a token
163 * until we find one in the resynchronization set--loosely the set of tokens
220 * sub rule or what follows loop. Yes, that is pretty aggressive. We opt to
270 // We are sure the token matches
308 // do nothing if we can't identify the exact kind of ATN state
475 * `LA(1)` is not what we are looking for. If `LA(2)` has the
521 // we have deleted the extra token.
576 // ATN state, then we know we're missing a token; error recovery
628 // we want to return the token we're actually matching
630 $this->reportMatch($recognizer); // we know current token is correct
[all …]
/template/strap/syntax/
Dpara.php82 * Not `paragraphs' because we don't allow them in {@link syntax_plugin_combo_xmlblocktag}
111 * because we manage self the content and we call self the parser
116 * Not needed as we don't have any {@link syntax_plugin_combo_para::connectTo()}
130 * Not really needed as we don't have any {@link syntax_plugin_combo_para::connectTo()}
132 * Note: if we start to use it should be less than 370
263 * We will transform the eol with a call to this syntax plugin
299 * Start at 1 because we may not do
300 * a loop if we are at the end, the next call

12345678910>>...38