Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for parser (0.97 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    			// need to parse a full expression. Notably, name <- x
    			// is not a concern because name <- x is a statement and
    			// not an expression.
    			var x Expr = p.name()
    			if p.tok != _Lbrack {
    				// To parse the expression starting with name, expand
    				// the call sequence we would get by passing in name
    				// to parser.expr, and pass in name to parser.pexpr.
    				p.xnest++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                throws IOException, XMLStreamException {
            CoreExtensionsStaxReader parser = new CoreExtensionsStaxReader();
    
            try (InputStream is = Files.newInputStream(extensionsFile.toPath())) {
                return parser.read(is, true).getExtensions();
            }
        }
    
        private ClassRealm setupContainerRealm(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    				n.Const = fmt.Sprintf("%#x", i)
    			} else if n.Define[0] == '\'' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "iconst"
    					n.Const = n.Define
    				}
    			} else if n.Define[0] == '"' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "sconst"
    					n.Const = n.Define
    				}
    			}
    
    			if n.IsConst() {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    				check.errorf(e, InvalidConstVal, "excessively long constant: %s... (%d chars)", e.Value[:10], len(e.Value))
    				goto Error
    			}
    		}
    		x.setConst(e.Kind, e.Value)
    		if x.mode == invalid {
    			// The parser already establishes syntactic correctness.
    			// If we reach here it's because of number under-/overflow.
    			// TODO(gri) setConst (and in turn the go/constant package)
    			// should return an error describing the issue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/cmd/dist/build.go

    func isGitRepo() bool {
    	// NB: simply checking the exit code of `git rev-parse --git-dir` would
    	// suffice here, but that requires deviating from the infrastructure
    	// provided by `run`.
    	gitDir := chomp(run(goroot, 0, "git", "rev-parse", "--git-dir"))
    	if !filepath.IsAbs(gitDir) {
    		gitDir = filepath.Join(goroot, gitDir)
    	}
    	return isdir(gitDir)
    }
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    	const table = "unique_struct"
    
    	checkField := func(model interface{}, fieldName string, unique bool, uniqueIndex string) {
    		stmt := &gorm.Statement{DB: DB}
    		err := stmt.Parse(model)
    		if err != nil {
    			t.Fatalf("%v: failed to parse schema, got error: %v", utils.FileWithLineNum(), err)
    		}
    		_ = stmt.Schema.ParseIndexes()
    		field := stmt.Schema.LookUpField(fieldName)
    		if field == nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  7. integration-tests/gradle/gradle/wrapper/gradle-wrapper.jar

    String DISABLE_OPTION_PREFIX = no-; private java.util.Map optionsByString; private boolean allowMixedOptions; private boolean allowUnknownOptions; public void CommandLineParser(); public transient ParsedCommandLine parse(String[]) throws CommandLineArgumentE; public ParsedCommandLine parse(Iterable) throws CommandLineArgumentE; public CommandLineParser allowMixedSubcommand(); public CommandLineParser allowUnknownOptions(); public transient CommandLineParser allowOneOf(String[]); public void printUsage(Appendable);...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 62.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            final SearchHelper searchHelper = ComponentUtil.getSearchHelper();
    
            final StringBuilder buf = new StringBuilder(255);
            try {
                final RequestParameter parameter = RequestParameter.parse(request);
                final String[] langs = searchHelper.getLanguages(request, parameter);
    
                final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    	NoRoot
    
    	// NeedRoot is used for commands that must run in module mode and don't
    	// make sense without a main module.
    	NeedRoot
    )
    
    // ModFile returns the parsed go.mod file.
    //
    // Note that after calling LoadPackages or LoadModGraph,
    // the require statements in the modfile.File are no longer
    // the source of truth and will be ignored: edits made directly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modget/get.go

    		wf, err := modload.ReadWorkFile(gowork)
    		if err == nil && modload.UpdateWorkGoVersion(wf, modload.MainModules.GoVersion()) {
    			modload.WriteWorkFile(gowork, wf)
    		}
    	}
    }
    
    // parseArgs parses command-line arguments and reports errors.
    //
    // The command-line arguments are of the form path@version or simply path, with
    // implicit @upgrade. path@none is "downgrade away".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top