OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:alts
(Results
1 - 15
of
15
) sorted by null
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
GrammarDanglingStateMessage.java
64
List
alts
= new ArrayList();
local
65
alts
.addAll(problemState.getAltSet());
66
Collections.sort(
alts
);
67
st.add("danglingAlts",
alts
);
GrammarUnreachableAltsMessage.java
41
public List
alts
;
field in class:GrammarUnreachableAltsMessage
44
List
alts
)
48
this.
alts
=
alts
;
49
// flip msg ID if
alts
are actually token refs in Tokens rule
67
//
alts
are token rules, convert to the names instead of numbers
68
for (int i = 0; i <
alts
.size(); i++) {
69
Integer altI = (Integer)
alts
.get(i);
81
// regular alt numbers, show the
alts
82
st.add("
alts
", alts)
[
all
...]
GrammarInsufficientPredicatesMessage.java
64
List<Integer>
alts
= new ArrayList<Integer>();
local
65
alts
.addAll(altToLocations.keySet());
66
Collections.sort(
alts
);
67
for (Integer altI :
alts
) {
DOTGenerator.java
326
Set
alts
= ((DFAState)s).getAltSet();
local
327
if (
alts
!=null ) {
329
// separate
alts
331
altList.addAll(
alts
);
NFAFactory.java
148
/** Can only complement block of simple
alts
; can complement build_Set()
350
* o->o-'a'..'b'->o->o (last NFAState is blockEndNFAState pointed to by all
alts
)
366
* o->o-A->o->o (last NFAState is blockEndNFAState pointed to by all
alts
)
406
// need to predict the
alts
of this subrule in case there are actions
557
* and then loopback. If A is a block of
alts
, then there are three
703
List
alts
= new ArrayList();
local
704
alts
.add(wildRoot);
705
alts
.add(optionalNodeAlt);
706
StateCluster blk = build_AlternativeBlock(
alts
);
711
/** Given a collapsed block of
alts
(a set of atoms), pull ou
[
all
...]
GrammarAST.java
555
int
alts
= 0;
local
558
alts
++;
560
if (
alts
== i) {
Grammar.java
3001
int
alts
= nfabuilder.testBlockAsSet(t);
local
[
all
...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
LL1DFA.java
71
/** From a set of edgeset->list-of-
alts
mappings, create a DFA
72
* that uses syn preds for all |list-of-
alts
|>1.
88
List<Integer>
alts
= edgeMap.get(edge);
local
89
Collections.sort(
alts
); // make sure
alts
are attempted in order
90
//System.out.println(edge+" -> "+
alts
);
95
if (
alts
.size()==1 ) {
97
int alt =
alts
.get(0);
105
for (int i = 0; i <
alts
.size(); i++) {
106
int alt = (int)
alts
.get(i)
[
all
...]
DFAState.java
62
* but with different NFAContexts (with same or different
alts
)
110
* detect recursion. There may be other
alts
that are cool:
470
* alternative is chosen to resolve the conflict. The other
alts
501
// if we had to abort for non-LL(*) state assume all
alts
are a problem
511
* context conflicting ctx predicts
alts
i and j. Return an Integer set
548
// potential conflicts are states with > 1 configuration and diff
alts
599
// looking for different
alts
(only states with potential issues
604
// I want to create a map from context to
alts
looking for overlap:
609
//
alts
1 and 2.
625
// suffix of t.ctx or vice versa (if
alts
differ)
646
Set
alts
= new HashSet();
local
[
all
...]
DecisionProbe.java
80
* which
alts
are nondeterministic.
86
* ID rule. The state maps to the list of Tokens rule
alts
that are
106
/** Tracks
alts
insufficiently covered.
108
* whole alt uncovered. This maps DFA state to the set of
alts
116
/** The overall list of
alts
within the decision that have at least one
123
* the
alts
are stored in altsWithProblem.
189
/** If no states are dead-ends, no
alts
are unreachable, there are
209
// no syntactically ambig
alts
were left unresolved by predicates
238
* conflict resolution or
alts
w/o accept states).
257
/** Return the sorted list of
alts
that conflict within a single state
547
Set
alts
= altToTargetToCallSitesMap.keySet();
local
[
all
...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
SerializedGrammar.java
60
List[]
alts
;
field in class:SerializedGrammar.Block
61
public Block(List[]
alts
) {
62
this.
alts
=
alts
;
67
for (int i = 0; i <
alts
.length; i++) {
68
List alt =
alts
[i];
135
List[]
alts
= new List[nalts];
local
139
alts
[i] = alt;
142
return new Block(
alts
);
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestDFAConversion.java
1545
List<Integer>
alts
= new ArrayList();
local
[
all
...]
/external/chromium_org/v8/src/
jsregexp.cc
5840
ZoneList<GuardedAlternative>*
alts
= alternatives();
local
[
all
...]
/external/antlr/antlr-3.4/lib/
antlr-3.4-complete.jar
/prebuilts/misc/common/antlr/
antlr-3.4-complete.jar
Completed in 593 milliseconds