Searched refs:attr (Results 1 - 25 of 1281) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt042ast.py33 for attr, val in kwargs.items():
34 setattr(self.parser, attr, val)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtask.rb275 for attr in [ :output_directory, :load_path, :antlr_jar ]
277 def #{ attr }
278 @group.#{ attr }
437 for attr in [ :load_path, :output_directory, :antlr_jar, :verbose, :group ]
439 def #{ attr }
440 @owner.#{ attr }
H A Dutil.rb48 additional_writers = additional_members.inject( '' ) do |src, attr|
49 src << "@#{ attr } = value if @#{ attr }\n"
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-template.rb138 | % for attr, access in @attributes
139 | <%= attribute( :name => attr, :access => ( access || 'rw' ) ).to_s.chomp %>
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DAttributeScope.java125 Attribute attr = new Attribute(a);
126 if ( !isReturnScope && attr.initValue!=null ) {
130 attr.name);
131 attr.initValue=null; // wipe it out
133 attributes.put(attr.name, attr);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DActionScript.stg1127 parameterAttributeRef(attr) ::= "<attr.name>"
1128 parameterSetAttributeRef(attr,expr) ::= "<attr.name> =<expr>;"
1130 scopeAttributeRef(scope,attr,index,negIndex) ::= <<
1132 <scope>_stack[<scope>_stack.length-<negIndex>-1].<attr.name>
1135 <scope>_stack[<index>].<attr.name>
1137 <scope>_stack[<scope>_stack.length-1].<attr.name>
1142 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <<
1144 <scope>_stack[<scope>_stack.length-<negIndex>-1].<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DC.stg3078 parameterAttributeRef(attr) ::= "<attr.name>"
3079 parameterSetAttributeRef(attr,expr) ::= "<attr.name>=<expr>;"
3084 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
3086 ((SCOPE_TYPE(<scope>))(ctx->SCOPE_STACK(<scope>)->get( ctx->SCOPE_STACK(<scope>), ctx->SCOPE_STACK(<scope>)->size(ctx->SCOPE_STACK(<scope>)) - <negIndex> - 1) ))-><attr.name>
3089 ((SCOPE_TYPE(<scope>))(ctx->SCOPE_STACK(<scope>)->get(ctx->SCOPE_STACK(<scope>), (ANTLR3_UINT32)<index> ) ))-><attr.name>
3091 (SCOPE_TOP(<scope>))-><attr.name>
3096 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <%
3098 ((SCOPE_TYPE(<scope>))(ctx->SCOPE_STACK(<scope>)->get( ctx->SCOPE_STACK(<scope>), ctx->SCOPE_STACK(<scope>)->size(ctx->SCOPE_STACK(<scope>)) - <negIndex> - 1) ))-><attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
H A DCPP.stg1233 globalAttributeRef(scope,attr) ::= <<
1234 ((<scope>)<scope>_stack.peek()).<attr.name>
1237 parameterAttributeRef(attr) ::= "<attr.name>"
1239 scopeAttributeRef(scope,attr,index,negIndex) ::= <<
1241 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>
1244 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>
1246 ((<scope>_scope)<scope>_stack.peek()).<attr.name>
1258 ruleLabelRef(referencedRule,scope,attr) ::= <<
1262 <scope>.<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DCSharp2.stg1537 parameterAttributeRef(attr) ::= <<
1538 <attr.name; format="id">
1541 parameterSetAttributeRef(attr,expr) ::= <<
1542 <attr.name; format="id"> =<expr>;
1545 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
1547 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr.name; format="id">
1550 <scope>_stack[<index>].<attr.name; format="id">
1552 <scope>_stack.Peek().<attr.name; format="id">
1557 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <%
1559 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
H A DCSharp3.stg1521 parameterAttributeRef(attr) ::= <<
1522 <attr.name; format="id">
1525 parameterSetAttributeRef(attr,expr) ::= <<
1526 <attr.name; format="id"> =<expr>;
1529 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
1531 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr.name; format="id">
1534 <scope>_stack[<index>].<attr.name; format="id">
1536 <scope>_stack.Peek().<attr.name; format="id">
1541 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <%
1543 <scope>_stack[<scope>_stack.Count - <negIndex> - 1].<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
H A DDelphi.stg1635 parameterAttributeRef(attr) ::= "<attr.name>"
1636 parameterSetAttributeRef(attr,expr) ::= "<attr.name> := <expr>;"
1638 scopeAttributeRef(scope,attr,index,negIndex) ::= <<
1640 (<scope>Stack[<scope>Stack.Count-<negIndex>-1] as T<scope>Scope).<attr.name>
1643 (<scope>Stack[<index>] as T<scope>Scope).<attr.name>
1644 ((<scope>_scope)<scope>_stack[<index>]).<attr.name>
1646 (<scope>Stack.Peek.Implementor as T<scope>Scope).<attr.name>
1651 scopeSetAttributeRef(scope,attr,exp
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DJava.stg1239 parameterAttributeRef(attr) ::= "<attr.name>"
1240 parameterSetAttributeRef(attr,expr) ::= "<attr.name> =<expr>;"
1242 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
1244 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>
1247 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>
1249 ((<scope>_scope)<scope>_stack.peek()).<attr.name>
1254 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <%
1256 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DObjC.stg1920 parameterAttributeRef(attr) ::= "<attr.name>"
1921 parameterSetAttributeRef(attr,expr) ::= "<attr.name> = <expr>;"
1926 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
1928 ([((<scope>_Scope *)[<scope>_stack objectAtIndex:[<scope>_stack size]-<negIndex>-1)]).<attr.name>
1931 ((<scope>_Scope *)[<scope>_stack objectAtIndex:<index>]).<attr.name>
1933 ((<scope>_Scope *)[<scope>_stack peek]).<attr.name>
1938 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <%
1941 ((<scope>_Scope *)[<scope>_stack objectAtIndex:([<scope>_stack size]-<negIndex>-1)]).<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
H A DPerl5.stg1216 parameterAttributeRef(attr) ::= "$<attr.name>"
1217 parameterSetAttributeRef(attr,expr) ::= "$<attr.name> =<expr>;"
1219 scopeAttributeRef(scope,attr,index,negIndex) ::= <<
1221 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>
1224 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>
1226 ((<scope>_scope)<scope>_stack.peek()).<attr.name>
1231 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <<
1233 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DPython.stg1303 parameterAttributeRef(attr) ::= "<attr.name>"
1304 parameterSetAttributeRef(attr,expr) ::= "<attr.name> = <expr>"
1306 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
1308 self.<scope>_stack[-<negIndex>].<attr.name>
1311 self.<scope>_stack[<index>].<attr.name>
1313 self.<scope>_stack[-1].<attr.name>
1321 ((len(self.<scope>_stack) - <negIndex> - 1) >= 0 and [self.<scope>_stack[-<negIndex>].<attr.name>] or [None])[0]
1324 ((<index> \< len(self.<scope>_stack)) and [self.<scope>_stack[<index>].<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
H A DRuby.stg1029 parameterAttributeRef(attr) ::= "<attr.name>"
1031 parameterSetAttributeRef(attr,expr) ::= "<attr.name> = <expr>"
1033 scopeAttributeRef(scope, attr, index, negIndex) ::= <<
1035 @<scope>_stack[ -<negIndex> ].<attr.name>
1038 @<scope>_stack[ <index> ].<attr.name>
1040 @<scope>_stack.last.<attr.name>
1046 scopeSetAttributeRef(scope, attr, expr, index, negIndex) ::= <<
1048 @<scope>_stack[ -<negIndex> ].<attr
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
H A DScala.stg1223 parameterAttributeRef(attr) ::= "<attr.name>"
1224 parameterSetAttributeRef(attr,expr) ::= "<attr.name> =<expr>"
1226 scopeAttributeRef(scope,attr,index,negIndex) ::= <%
1228 <scope>_stack(<scope>_stack.size-<negIndex>-1).<attr.name>
1231 <scope>_stack(<index>).<attr.name>
1233 <scope>_stack.top.<attr.name>
1238 scopeSetAttributeRef(scope,attr,expr,index,negIndex) ::= <%
1240 <scope>_stack(<scope>_stack.size-<negIndex>-1).<attr
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/serialize/
H A DSerializerUtils.java50 * @param attr Attribute node to add to SerializationHandler.
54 public static void addAttribute(SerializationHandler handler, int attr) argument
60 DTM dtm = transformer.getXPathContext().getDTM(attr);
62 if (SerializerUtils.isDefinedNSDecl(handler, attr, dtm))
65 String ns = dtm.getNamespaceURI(attr);
75 dtm.getLocalName(attr),
76 dtm.getNodeName(attr),
78 dtm.getNodeValue(attr), false);
210 * @param attr Namespace attribute node
211 * @param dtm The DTM that owns attr
216 isDefinedNSDecl( SerializationHandler serializer, int attr, DTM dtm) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemAttributeSet.java118 ElemAttribute attr = (ElemAttribute) getFirstChildElem();
120 while (null != attr)
122 attr.execute(transformer);
124 attr = (ElemAttribute) attr.getNextSiblingElem();
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DTreeWalker2Result.java135 for (int attr = dtm.getFirstAttribute(node);
136 DTM.NULL != attr; attr = dtm.getNextAttribute(attr))
138 SerializerUtils.addAttribute(m_handler, attr);
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNodeProxy.java1644 Node attr = map.item(i);
1645 String attrPrefix = attr.getPrefix();
1646 String value = attr.getNodeValue();
1647 namespace = attr.getNamespaceURI();
1651 attr.getNodeName().equals("xmlns")) {
1656 attr.getLocalName().equals(specifiedPrefix)) {
1728 NodeImpl attr = (NodeImpl)elem.getAttributeNodeNS("http://www.w3.org/2000/xmlns/", "xmlns");
1729 if (attr != null) {
1730 String value = attr.getNodeValue();
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
H A DDOM2DTM.java1479 Attr attr = (Attr)getNode(attributeHandle);
1480 return attr.getSpecified();
H A DDOM2DTMdefaultNamespaceDeclarationNode.java330 Node attr = map.item(i);
331 String attrPrefix = attr.getPrefix();
332 String value = attr.getNodeValue();
333 namespace = attr.getNamespaceURI();
337 attr.getNodeName().equals("xmlns")) {
342 attr.getLocalName().equals(specifiedPrefix)) {
418 NodeImpl attr = (NodeImpl)elem.getAttributeNodeNS("http://www.w3.org/2000/xmlns/", "xmlns");
419 if (attr != null) {
420 String value = attr.getNodeValue();

Completed in 2171 milliseconds

1234567891011>>