Searched defs:label (Results 1 - 25 of 843) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jar ... .util.List) org.antlr.analysis.Label label java.util.Iterator it java.util ...
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DParseTree.cs50 public ParseTree(object label) { argument
51 this.payload = label;
H A DTreeWizard.cs93 * When using %label:TOKENNAME in a tree for parse(), we must
94 * track the label.
98 public string label; field in class:Antlr.Runtime.Tree.TreeWizard.TreePattern
104 if (label != null) {
105 return "%" + label + ":"; //+ base.ToString();
304 * a token type rather than a pattern doesn't let us set a label.
430 if (tpattern.label != null && labels != null) {
431 // map label in pattern to node in t1
432 labels[tpattern.label] = t1;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeWizard.cs101 * When using %label:TOKENNAME in a tree for parse(), we must
102 * track the label.
107 public string label; field in class:Antlr.Runtime.Tree.TreeWizard.TreePattern
115 if ( label != null )
117 return "%" + label + ":"; //+ base.ToString();
348 * a token type rather than a pattern doesn't let us set a label.
493 if ( tpattern.label != null && labels != null )
495 // map label in pattern to node in t1
496 labels[tpattern.label] = t1;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DParseTree.java43 public ParseTree(Object label) { argument
44 this.payload = label;
H A DTreeWizard.java69 /** When using %label:TOKENNAME in a tree for parse(), we must
70 * track the label.
73 public String label; field in class:TreeWizard.TreePattern
79 if ( label!=null ) {
80 return "%"+label+":"+super.toString();
247 * a token type rather than a pattern doesn't let us set a label.
345 if ( tpattern.label!=null && labels!=null ) {
346 // map label in pattern to node in t1
347 labels.put(tpattern.label, t1);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRTreeWizard.h60 /** When using %label:TOKENNAME in a tree for parse(), we must
61 * track the label.
64 NSString *label; variable
67 @property (retain, getter=getLabel, setter=setLabel:) NSString *label; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRTreeWizard.h60 /** When using %label:TOKENNAME in a tree for parse(), we must
61 * track the label.
64 NSString *label; variable
67 @property (retain, getter=getLabel, setter=setLabel:) NSString *label; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRTreeWizard.h60 /** When using %label:TOKENNAME in a tree for parse(), we must
61 * track the label.
64 NSString *label; variable
67 @property (retain, getter=getLabel, setter=setLabel:) NSString *label; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRTreeWizard.h65 /** When using %label:TOKENNAME in a tree for parse(), we must
66 * track the label.
69 NSString *label; variable
72 @property (retain, getter=getLabel, setter=setLabel:) NSString *label; variable
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DDFAState.java157 * transition that could be a valid label is transition(0). When we
159 * for all possible transitions. That is of the order: size(label space)
188 /** Add a transition from this state to target with label. Return
191 public int addTransition(DFAState target, Label label) { argument
192 transitions.add( new Transition(label, target) );
244 Label label = state.transition[0].label;
245 if ( !(label.isEpsilon()||label.isSemanticPredicate()) ) {
254 addReachableLabel(label);
305 addReachableLabel(Label label) argument
[all...]
H A DLabel.java34 /** A state machine transition label. A label can be either a simple
35 * label such as a token or character. A label can be a set of char or
38 * Special label types have to be < 0 to avoid conflict with char.
49 /** label is a semantic predicate; implies label is epsilon also */
52 /** label is a set of tokens or char */
117 /** The token type or character value; or, signifies special label. */
118 protected int label; field in class:Label
124 Label(int label) argument
361 intersect(Label label, Label edgeLabel) argument
[all...]
H A DNFAToDFAConverter.java268 // for each label that could possibly emanate from NFAStates of d
274 Label label = (Label)labels.get(i);
275 DFAState t = reach(d, label);
277 System.out.println("DFA state after reach "+label+" "+d+"-" +
278 label.toString(dfa.nfa.grammar)+"->"+t);
281 // nothing was reached by label due to conflict resolution
301 label.toString(dfa.nfa.grammar)+
305 // add if not in DFA yet and then make d-label->t
309 addTransition(d, label, targetState, targetToLabelMap);
344 /** Add a transition from state d to targetState with label i
408 addTransition(DFAState d, Label label, DFAState targetState, Map targetToLabelMap) argument
848 reach(DFAState d, Label label) argument
[all...]
H A DTransition.java32 * that the label is actually a set of labels or a semantic predicate.
34 * transitions) and has a label/target pair. I have abstracted the notion
38 /** What label must be consumed to transition to target */
39 public Label label; field in class:Transition
44 public Transition(Label label, State target) { argument
45 this.label = label;
49 public Transition(int label, State target) { argument
50 this.label = new Label(label);
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DRubyTarget.java118 } else if ( formatName.equals( "label" ) ) {
119 return label( idString );
277 private String label( String value ) { method in class:RubyTarget.RubyRenderer
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammar.java163 public Token label; field in class:Grammar.LabelElementPair
166 /** Has an action referenced the label? Set by ActionAnalysis.g
171 public LabelElementPair(Token label, GrammarAST elementRef) { argument
172 this.label = label;
309 /** If this is a delegate of another grammar, this is the label used
311 * if no label was specified in the delegate statement.
313 public String label; field in class:Grammar
1248 // walk each incoming edge label/set and add to disjoint set
1265 //System.out.println(label
1758 defineLabel(Rule r, Token label, GrammarAST element, int type) argument
1766 defineTokenRefLabel(String ruleName, Token label, GrammarAST tokenRef) argument
1787 defineWildcardTreeLabel(String ruleName, Token label, GrammarAST tokenRef) argument
1797 defineWildcardTreeListLabel(String ruleName, Token label, GrammarAST tokenRef) argument
1807 defineRuleRefLabel(String ruleName, Token label, GrammarAST ruleRef) argument
1817 defineTokenListLabel(String ruleName, Token label, GrammarAST element) argument
1827 defineRuleListLabel(String ruleName, Token label, GrammarAST element) argument
2235 importGrammar(GrammarAST grammarNameAST, String label) argument
[all...]
H A DNFAFactory.java97 if ( t.label.isEpsilon() && !t.label.isAction() && s.getNumberOfTransitions()==1 ) {
117 /** From label A build Graph o-A->o */
118 public StateCluster build_Atom(int label, GrammarAST associatedAST) { argument
123 transitionBetweenStates(left, right, label);
141 Label label = new Label(set);
142 Transition e = new Transition(label,right);
156 Label label = s0.transition(0).target.transition(0).label;
157 label
728 transitionBetweenStates(NFAState a, NFAState b, int label) argument
[all...]
H A DNameSpaceChecker.java55 checkForLabelConflict(r, pair.label);
216 /** Make sure a label doesn't conflict with another symbol.
221 protected void checkForLabelConflict(Rule r, Token label) { argument
224 if ( grammar.getGlobalScope(label.getText())!=null ) {
227 else if ( grammar.getRule(label.getText())!=null ) {
230 else if ( grammar.getTokenType(label.getText())!=Label.INVALID ) {
233 else if ( r.ruleScope!=null && r.ruleScope.getAttribute(label.getText())!=null ) {
237 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(label.getText())!=null) ||
238 (r.parameterScope!=null&&r.parameterScope.getAttribute(label.getText())!=null) )
244 ErrorManager.grammarError(msgID,grammar,label,labe
250 checkForLabelTypeMismatch(Rule r, Token label, int type) argument
[all...]
H A DRandomPhrase.java103 else if ( t0.label.isSet() || t0.label.isAtom() ) {
104 tokenTypes.add( getTokenType(t0.label) );
126 protected static Integer getTokenType(Label label) { argument
127 if ( label.isSet() ) {
129 IntervalSet typeSet = (IntervalSet)label.getSet();
134 return Utils.integer(label.getAtom());
136 //System.out.println(t0.label.toString(g));
H A DRule.java104 * catch dup label and label type mismatches.
184 public void defineLabel(Token label, GrammarAST elementRef, int type) { argument
185 Grammar.LabelElementPair pair = grammar.new LabelElementPair(label,elementRef);
187 labelNameSpace.put(label.getText(), pair);
191 tokenLabels.put(label.getText(), pair);
195 wildcardTreeLabels.put(label.getText(), pair);
199 wildcardTreeListLabels.put(label.getText(), pair);
203 ruleLabels.put(label.getText(), pair);
207 tokenListLabels.put(label
[all...]
/external/bison/src/
H A Dgraphviz.c63 output_node (int id, char const *label, FILE *fout) argument
65 fprintf (fout, " %d [label=\"%s\"]\n", id, label);
69 output_edge (int source, int destination, char const *label, argument
73 if (label)
74 fprintf (fout, " label=%s", quote (label));
123 char *label = obstack_finish0 (out); local
124 fprintf (fout, "label=\"[%s]\", ", label);
[all...]
/external/blktrace/btt/doc/
H A Dbtt.tex30 \section{\label{sec:intro}Introduction}
66 \newpage\section{\label{sec:getting-started}Getting Started}
102 \newpage\section{\label{sec:output-overview}Output Overview}
105 include\label{tl-defs}:
347 \subsection*{\label{sec:detailed-data}Detailed Data}
426 \newpage\section{\label{sec:data-files}Data Files Output}
476 \newpage\section{\label{sec:activity}Activity Data File}
544 \caption{\label{fig:activity}Simple Activity Chart}
552 \newpage\section{\label{sec:hist}Histogram Data Files}
567 \subsection*{\label{se
[all...]
/external/blktrace/doc/
H A Dblktrace.tex29 \section{\label{sec:intro}Introduction}
57 \newpage\section{\label{sec:quick-start}Quick Start Guide}
63 \subsection{\label{sec:get-blktrace}Retrieving blktrace}
73 \subsection{\label{sec:patching}Patching and configuring the Linux kernel}
107 \subsection{\label{sec:mount}Mounting the debugfs file system}
127 \subsection{\label{sec:build}Build the tools}
136 \subsection{\label{sec:live-blktrace}blktrace -- live}
197 \subsection{\label{sec:pc-blktrace}blktrace -- SCSI commands}
220 \subsection{\label{sec:blktrace-post}blktrace -- post-processing}
239 Filesystem label
[all...]
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_act.c247 static void bta_av_rc_msg_cback(UINT8 handle, UINT8 label, UINT8 opcode, tAVRC_MSG *p_msg) argument
277 p_buf->label = label;
596 AVRC_PassCmd(p_rcb->handle, p_data->api_remote_cmd.label,
621 AVRC_VendorCmd(p_rcb->handle, p_data->api_vendor.label, &p_data->api_vendor.msg);
644 AVRC_VendorRsp(p_rcb->handle, p_data->api_vendor.label, &p_data->api_vendor.msg);
670 AVRC_MsgReq(p_rcb->handle, p_data->api_meta_rsp.label,
784 AVRC_VendorRsp(p_msg->handle, p_msg->label, &p_msg->msg.vendor);
907 AVRC_PassRsp(p_data->rc_msg.handle, p_data->rc_msg.label, &p_data->rc_msg.msg.pass);
918 av.remote_cmd.label
[all...]
H A Dbta_av_api.c406 void BTA_AvRemoteCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_RC rc_id, tBTA_AV_STATE key_state) argument
418 p_buf->label = label;
434 void BTA_AvVendorCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CODE cmd_code, UINT8 *p_data, UINT16 len) argument
446 p_buf->label = label;
473 void BTA_AvVendorRsp(UINT8 rc_handle, UINT8 label, tBTA_AV_CODE rsp_code, UINT8 *p_data, UINT16 len, UINT32 company_id) argument
488 p_buf->label = label;
558 void BTA_AvMetaRsp(UINT8 rc_handle, UINT8 label, tBTA_AV_COD argument
592 BTA_AvMetaCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CMD cmd_code, BT_HDR *p_pkt) argument
[all...]

Completed in 806 milliseconds

1234567891011>>