HomeSort by relevance Sort by last modified time
    Searched refs:Parser (Results 376 - 400 of 895) sorted by null

<<11121314151617181920>>

  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
auto-ast.rb 15 grammar_module::Parser.send( :include, ANTLR3::Test::CollectErrors )
16 grammar_module::Parser.send( :include, ANTLR3::Test::CaptureOutput )
19 parser = grammar_module::Parser.new( lexer )
21 r = parser.send( rule )
22 parser.reported_errors.should be_empty unless expect_errors
29 return( expect_errors ? [ result, parser.reported_errors ] : result )
43 grammar_module::Parser.send( :include, ANTLR3::Test::CollectErrors )
44 grammar_module::Parser.send( :include, ANTLR3::Test::CaptureOutput )
49 parser = grammar.module::Parser.new( lexer
    [all...]
hetero-nodes.rb 41 a : ID<TokenWithQualifiedType.Parser.V> ;
597 parser = grammar_module::Parser.new( tokens )
598 r = parser.send( grammar_rule )
609 parser = grammar_module::Parser.new( tokens )
610 r = parser.send( grammar_rule )
710 example "tree parser rewrite flat list" do
716 example "tree parser rewrite tree" do
722 example "tree parser rewrite imaginary" d
    [all...]
rewrites.rb 15 grammar_module::Parser.send( :include, ANTLR3::Test::CollectErrors )
16 grammar_module::Parser.send( :include, ANTLR3::Test::CaptureOutput )
19 parser = grammar_module::Parser.new( lexer )
21 r = parser.send( rule )
22 parser.reported_errors.should be_empty unless expect_errors
29 return( expect_errors ? [ result, parser.reported_errors ] : result )
43 grammar_module::Parser.send( :include, ANTLR3::Test::CollectErrors )
44 grammar_module::Parser.send( :include, ANTLR3::Test::CaptureOutput )
49 parser = grammar.module::Parser.new( lexer
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DescriptorsTest.cs 67 Assert.AreSame(TestAllTypes.Parser, messageType.Parser);
233 Assert.IsNull(descriptor.Parser);
  /external/protobuf/src/google/protobuf/compiler/objectivec/
objectivec_helpers.cc 838 class Parser {
840 Parser(map<string, string>* inout_package_to_prefix_map)
863 bool Parser::ParseChunk(StringPiece chunk) {
879 bool Parser::Finish() {
921 bool Parser::ParseLoop() {
968 Parser parser(prefix_map);
976 if (!parser.ParseChunk(StringPiece(static_cast<const char*>(buf), buf_len))) {
979 " Line " + SimpleItoa(parser.last_line()) + ", " + parser.error_str()
    [all...]
  /prebuilts/tools/common/m2/repository/commons-cli/commons-cli/1.3.1/
commons-cli-1.3.1.jar 
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
MetaFileParser.py 38 def ParseMacro(Parser):
43 Parser(self)
49 EdkLogger.error('Parser', FORMAT_INVALID, "No macro name given",
58 EdkLogger.error('Parser', FORMAT_INVALID, "%s can only be defined via environment variable" % Name,
62 EdkLogger.error('Parser', FORMAT_INVALID, "The macro name must be in the pattern [A-Z][A-Z0-9_]*",
90 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used in .dsc file",
93 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used under [Defines] section",
96 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL defined a macro with the same name and different value as one defined by 'DEFINE'",
103 ## Base class of parser
105 # This class is used for derivation purpose. The specific parser for one kind
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf.Test/
CodedInputStreamTest.cs 236 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(rawBytes);
242 message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize));
263 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString());
319 AssertMessageDepth(TestRecursiveMessage.Parser.ParseFrom(data64), 64);
321 Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(data65));
324 Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(input));
334 Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseFrom(input));
  /device/linaro/bootloader/edk2/BaseTools/Scripts/
ConvertMasmToNasm.py 72 Parser = OptionParser(description=self.__copyright__,
77 Parser.add_option("-q", "--quiet", action="store_true", type=None,
79 Parser.add_option("--git", action="store_true", type=None,
81 Parser.add_option("--diff", action="store_true", type=None,
83 Parser.add_option("-f", "--force", action="store_true", type=None,
86 (Opt, Args) = Parser.parse_args()
90 Parser.print_version()
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
UnittestWellKnownTypes.cs 166 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestWellKnownTypes), global::Google.Protobuf.TestProtos.TestWellKnownTypes.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMaskField", "SourceContextField", "StructField", "TimestampField", "TypeField", "DoubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Field", "BoolField", "StringField", "BytesField", "ValueField" }, null, null, null),
167 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.RepeatedWellKnownTypes), global::Google.Protobuf.TestProtos.RepeatedWellKnownTypes.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMaskField", "SourceContextField", "StructField", "TimestampField", "TypeField", "DoubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Field", "BoolField", "StringField", "BytesField" }, null, null, null),
168 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.OneofWellKnownTypes), global::Google.Protobuf.TestProtos.OneofWellKnownTypes.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMaskField", "SourceContextField", "StructField", "TimestampField", "TypeField", "DoubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Field", "BoolField", "StringField", "BytesField" }, new[]{ "OneofField" }, null, null),
169 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.MapWellKnownTypes), global::Google.Protobuf.TestProtos.MapWellKnownTypes.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMaskField", "SourceContextField", "StructField", "TimestampField", "TypeField", "DoubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Field", "BoolField", "StringField", "BytesField" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, })
184 public static pb::MessageParser<TestWellKnownTypes> Parser { get { return _parser; } }
    [all...]
  /external/testng/src/main/java/org/testng/
TestNG.java 56 import org.testng.xml.Parser;
363 Parser parser = getParser(jf.getInputStream(je)); local
364 Collection<XmlSuite> suites = parser.parse();
403 private Parser getParser(String path) {
404 Parser result = new Parser(path);
409 private Parser getParser(InputStream is) {
410 Parser result = new Parser(is)
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/org.eclipse.tycho.p2.maven.repository/0.20.0/
org.eclipse.tycho.p2.maven.repository-0.20.0.jar 
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
MetaFileParser.py 40 def ParseMacro(Parser):
45 Parser(self)
51 EdkLogger.error('Parser', FORMAT_INVALID, "No macro name given",
60 EdkLogger.error('Parser', FORMAT_INVALID, "%s can only be defined via environment variable" % Name,
64 EdkLogger.error('Parser', FORMAT_INVALID, "The macro name must be in the pattern [A-Z][A-Z0-9_]*",
87 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used in .dsc file",
90 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used under [Defines] section",
93 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL defined a macro with the same name and different value as one defined by 'DEFINE'",
100 ## Base class of parser
102 # This class is used for derivation purpose. The specific parser for one kind
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/data/
NewHdfParser.java 29 * Parser for HDF based on the following grammar by Brandon Long.
41 public class NewHdfParser implements Parser {
60 // TODO: think about moving interning here instead of parser code
73 // TODO: think about moving interning here instead of parser code
95 * State information that we pass through the parse methods. Allows parser to be reentrant as all
169 public Parser newInstance() {
178 * Provided {@code stringInternStrategy} instance will be used by shared all {@link Parser}
190 public void parse(Reader reader, Data output, Parser.ErrorHandler errorHandler,
  /system/tools/aidl/
aidl.cpp 451 // TODO: Remove this in favor of using the YACC parser b/25479378
570 Parser p{io_delegate};
612 Parser p{io_delegate};
754 Parser p{io_delegate};
  /external/protobuf/src/google/protobuf/
text_format_unittest.cc 630 // the parser will accept them.
832 TextFormat::Parser parser; local
833 parser.AllowPartialMessage(true);
834 EXPECT_TRUE(parser.ParseFromString("a: 1", &message));
951 TextFormat::Parser parser; local
962 TextFormat::Parser parser; local
1234 TextFormat::Parser parser; local
1378 TextFormat::Parser parser; local
1385 TextFormat::Parser parser; local
    [all...]
  /external/deqp/executor/tools/
xeBatchResultToXml.cpp 60 void registerOptions (de::cmdline::Parser& parser)
71 parser << Option<OutMode>("m", "mode", "Output mode", s_modes, "single");
90 de::cmdline::Parser parser; local
93 opt::registerOptions(parser);
95 if (!parser.parse(argc-1, argv+1, &opts, std::cerr) ||
99 parser.help(std::cout);
110 static void parseBatchResult (xe::TestLogParser& parser, const char* filename)
121 parser.parse(&buf[0], numRead)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/
vktBuildPrograms.cpp 488 void registerOptions (de::cmdline::Parser& parser)
492 parser << Option<opt::DstPath> ("d", "dst-path", "Destination path", "out")
503 de::cmdline::Parser parser; local
504 registerOptions(parser);
505 if (!parser.parse(argc, argv, &cmdLine, std::cerr))
507 parser.help(std::cout);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jar 
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
parser.py 38 """Class for errors from the parser."""
47 class Parser(object):
447 parser = Parser(lexer, source, filename)
450 yacc.yacc(module=parser, debug=0, write_tables=0)
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
parser.ml 2 * Parser
16 let rec parse_primary = parser
27 let rec parse_args accumulator = parser
29 begin parser
35 let rec parse_ident id = parser
87 and parse_expr = parser
93 let rec parse_args accumulator = parser
98 parser
110 let parse_definition = parser
115 let parse_toplevel = parser
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
parser.ml 2 * Parser
16 let rec parse_primary = parser
27 let rec parse_args accumulator = parser
29 begin parser
35 let rec parse_ident id = parser
87 and parse_expr = parser
93 let rec parse_args accumulator = parser
98 parser
110 let parse_definition = parser
115 let parse_toplevel = parser
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
parser.ml 2 * Parser
16 let rec parse_primary = parser
27 let rec parse_args accumulator = parser
29 begin parser
35 let rec parse_ident id = parser
87 and parse_expr = parser
93 let rec parse_args accumulator = parser
98 parser
110 let parse_definition = parser
115 let parse_toplevel = parser
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
MapEntry.java 55 public final AbstractParser<MapEntry<K, V>> parser; field in class:MapEntry.Metadata
62 this.parser = new AbstractParser<MapEntry<K, V>>() {
63 private final Parser<MapEntryLite<K, V>> dataParser =
134 public Parser<MapEntry<K, V>> getParserForType() {
135 return metadata.parser;
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/
Yaml.java 40 import org.yaml.snakeyaml.parser.Parser;
41 import org.yaml.snakeyaml.parser.ParserImpl;
627 final Parser parser = new ParserImpl(new StreamReader(yaml)); local
630 return parser.peekEvent() != null;
634 return parser.getEvent();

Completed in 969 milliseconds

<<11121314151617181920>>