Searched +full:symbol +full:- +full:tree (Results 1 – 25 of 1122) sorted by relevance
12345678910>>...45
26 import static com.sun.source.tree.Tree.Kind.EXPRESSION_STATEMENT;27 import static com.sun.source.tree.Tree.Kind.IDENTIFIER;28 import static com.sun.source.tree.Tree.Kind.OTHER;29 import static com.sun.source.tree.Tree.Kind.PARENTHESIZED;30 import static com.sun.source.tree.Tree.Kind.TYPE_CAST;56 import com.sun.source.tree.ArrayAccessTree;57 import com.sun.source.tree.AssignmentTree;58 import com.sun.source.tree.BinaryTree;59 import com.sun.source.tree.BlockTree;60 import com.sun.source.tree.ClassTree;[all …]
46 import com.sun.source.tree.AnnotationTree;47 import com.sun.source.tree.ClassTree;48 import com.sun.source.tree.MethodInvocationTree;49 import com.sun.source.tree.MethodTree;50 import com.sun.source.tree.ModifiersTree;51 import com.sun.source.tree.Tree;52 import com.sun.source.tree.VariableTree;54 import com.sun.tools.javac.code.Symbol;55 import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;91 * @param nonNullTarget if non-null, this error involved a pseudo-assignment of a @Nullable[all …]
31 import com.sun.source.tree.BlockTree;32 import com.sun.source.tree.ClassTree;33 import com.sun.source.tree.ExpressionTree;34 import com.sun.source.tree.LambdaExpressionTree;35 import com.sun.source.tree.MemberReferenceTree;36 import com.sun.source.tree.MethodTree;37 import com.sun.source.tree.Tree;38 import com.sun.source.tree.VariableTree;41 import com.sun.tools.javac.code.Symbol;46 import com.sun.tools.javac.tree.JCTree;[all …]
2 Copyright (C) 2003-2013 Free Software Foundation, Inc.24 #include "is-a.h"25 #include "plugin-api.h"27 #include "tree.h"28 #include "basic-block.h"30 #include "ipa-ref.h"32 /* Symbol table consists of functions and variables.41 /* Base of all entries in the symbol table.45 /* Type of the symbol. */69 tree decl;[all …]
1 <?xml version="1.0" encoding="ISO-8859-1"?>5 <summary>interface for an HTML 4.0 non-verifying parser</summary>6 …<description>this module implements an HTML 4.0 non-verifying parser with API compatible with the …8 <exports symbol='htmlDefaultSubelement' type='macro'/>9 <exports symbol='htmlElementAllowedHereDesc' type='macro'/>10 <exports symbol='htmlRequiredAttrs' type='macro'/>11 <exports symbol='HTML_DEPRECATED' type='enum'/>12 <exports symbol='HTML_INVALID' type='enum'/>13 <exports symbol='HTML_NA' type='enum'/>14 <exports symbol='HTML_PARSE_COMPACT' type='enum'/>[all …]
10 import com.sun.source.tree.AnnotatedTypeTree;11 import com.sun.source.tree.AnnotationTree;12 import com.sun.source.tree.AssignmentTree;13 import com.sun.source.tree.ConditionalExpressionTree;14 import com.sun.source.tree.ExpressionTree;15 import com.sun.source.tree.MemberSelectTree;16 import com.sun.source.tree.MethodInvocationTree;17 import com.sun.source.tree.MethodTree;18 import com.sun.source.tree.NewClassTree;19 import com.sun.source.tree.ParameterizedTypeTree;[all …]
2 # encoding: utf-87 Copyright (c) 2009-2010 Kyle Yetter36 # - ported from the ANTLR3 Python Runtime library by56 - functions more as an internal signal, simillar to exception58 - used to inform the recognizer that it needs to rewind62 - not a subclass of RecognitionError68 # To avoid English-only error messages and to generally make things77 # that you can compute the complete trace of rules from the start symbol.89 # knows its state (such as current input symbol and line info) that100 to the recognizer by the rules of a grammar and an input symbol which failed to[all …]
27 import com.sun.source.tree.ClassTree;28 import com.sun.source.tree.ExpressionTree;29 import com.sun.source.tree.LambdaExpressionTree;30 import com.sun.source.tree.MemberReferenceTree;31 import com.sun.source.tree.MethodInvocationTree;32 import com.sun.source.tree.MethodTree;33 import com.sun.source.tree.ReturnTree;34 import com.sun.tools.javac.code.Symbol;65 * <p>This also means we are starting a new Compilation Unit, which allows us to clear CU-specific69 * @param tree The AST node for the class being matched.[all …]
27 import com.sun.source.tree.ClassTree;28 import com.sun.source.tree.ExpressionTree;29 import com.sun.source.tree.LambdaExpressionTree;30 import com.sun.source.tree.MemberReferenceTree;31 import com.sun.source.tree.MethodInvocationTree;32 import com.sun.source.tree.MethodTree;33 import com.sun.source.tree.ReturnTree;34 import com.sun.tools.javac.code.Symbol;54 * Provides a default (No-Op) implementation of every method defined by the Handler interface.59 * long as we define the corresponding No-Op behavior here.[all …]
2 * Copyright (c) 2017-2020 Uber Technologies, Inc.31 import com.sun.source.tree.MethodTree;32 import com.sun.tools.javac.code.Symbol;45 * Abstract base class for handlers that process pre- and post-condition annotations for fields.64 * @param tree Method tree under processing.66 * @param methodSymbol Processing method symbol.70 NullAway analysis, MethodTree tree, VisitorState state, Symbol.MethodSymbol methodSymbol) { in onMatchMethod() argument77 castToNonNull(annotationContent), analysis, tree, state, methodSymbol) in onMatchMethod()78 && validateAnnotationSemantics(analysis, state, tree, methodSymbol); in onMatchMethod()82 Symbol.MethodSymbol closestOverriddenMethod = in onMatchMethod()[all …]
10 import symbol18 """Retrieve information from the parse tree of a source file.33 def __init__(self, tree = None): argument36 if tree:37 self._extract_info(tree)39 def _extract_info(self, tree): argument41 if len(tree) == 2:42 found, vars = match(DOCSTRING_STMT_PATTERN[1], tree[1])44 found, vars = match(DOCSTRING_STMT_PATTERN, tree[3])48 for node in tree[1:]:[all …]
... META-INF/ META-INF/MANIFEST.MF META-INF/services/ META-INF/ ...
org/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
5 use super::{Backtrace, Symbol, SymbolTrace, Trace};7 /// An adjacency list representation of an execution tree.9 /// This tree provides a convenient intermediate representation for formatting10 /// [`Trace`] as a tree.11 pub(super) struct Tree { struct15 roots: HashSet<Symbol>,17 /// The adjacency list of symbols in the execution tree(s).18 edges: HashMap<Symbol, HashSet<Symbol>>,21 impl Tree { argument22 /// Constructs a [`Tree`] from [`Trace`][all …]
8 * http://www.apache.org/licenses/LICENSE-2.046 import com.sun.source.tree.ClassTree;47 import com.sun.source.tree.MethodTree;48 import com.sun.source.tree.Tree;50 import com.sun.tools.javac.code.Symbol;51 import com.sun.tools.javac.code.Symbol.MethodSymbol;108 public Description matchMethod(MethodTree tree, VisitorState state) { in matchMethod() argument110 if (!BLUETOOTH_API.matches(tree, state)) return Description.NO_MATCH; in matchMethod()113 if (BINDER_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()114 if (GENERIC_INTERNALS.matches(tree, state)) return Description.NO_MATCH; in matchMethod()[all …]
8 * http://www.apache.org/licenses/LICENSE-2.044 import com.sun.source.tree.AssignmentTree;45 import com.sun.source.tree.ClassTree;46 import com.sun.source.tree.ExpressionTree;47 import com.sun.source.tree.IdentifierTree;48 import com.sun.source.tree.MemberSelectTree;49 import com.sun.source.tree.MethodInvocationTree;50 import com.sun.source.tree.MethodTree;51 import com.sun.source.tree.NewClassTree;52 import com.sun.source.tree.Tree;[all …]
8 * http://www.apache.org/licenses/LICENSE-2.044 import com.google.turbine.binder.sym.Symbol;52 import com.google.turbine.tree.Tree;53 import com.google.turbine.tree.Tree.Anno;54 import com.google.turbine.tree.Tree.ClassTy;55 import com.google.turbine.tree.Tree.Ident;56 import com.google.turbine.tree.Tree.Kind;57 import com.google.turbine.tree.Tree.MethDecl;58 import com.google.turbine.tree.Tree.PrimTy;59 import com.google.turbine.tree.TurbineModifier;[all …]
1 """Parse tree transformation module.3 Transforms Python source code into an abstract syntax tree (AST)7 parse(buf) -> AST8 parseFile(path) -> AST22 # Copyright (C) 1997-1998 Greg Stein. All Rights Reserved.24 # This module is provided under a BSD-ish license. See25 # http://www.opensource.org/licenses/bsd-license.html30 import symbol98 tree = transform(ast_tree)99 tree = parsesuite(text)[all …]
32 import com.sun.source.tree.LiteralTree;33 import com.sun.source.tree.MethodInvocationTree;34 import com.sun.source.tree.Tree;35 import com.sun.tools.javac.code.Symbol;68 * field names. Here, we also allow no-argument methods to appear in the access path, as well as78 * be proven to be class-initialization time constants (i.e. static final fields of a type known189 * Returns an access path rooted at {@code newRoot} with the same elements and map-get argument as223 * method arguments, but rather the string representation of primitive-type compile-time constants274 // Required to have Node type match Tree type in some instances. in argumentToMapKeySpecifier()278 // A switch at the Tree level should be faster than multiple if checks at the Node level. in argumentToMapKeySpecifier()[all …]
... META-INF/ META-INF/MANIFEST.MF com/ com/google ...
1 # mypy: allow-untyped-defs27 from sympy import Symbol46 - AUTO means automatic inference of shape (static or dynamic).47 - STATIC means static shape (always specialized).88 # e.g., dim - 194 return cls._derive(lambda x: x - other)133 return self.value # type: ignore[attr-defined]137 return self.value # type: ignore[attr-defined]146 x is a regular Dim (i.e., non-derived Dim), A and B are integers, and A is positive.164 if self.root.min is -int_oo: # type: ignore[attr-defined][all …]
8 * http://www.apache.org/licenses/LICENSE-2.030 import com.google.turbine.binder.sym.Symbol;37 import com.google.turbine.tree.Tree;59 // TODO(cushon): null-check `msg` after fixing affected processors in printMessage()69 Symbol sym = ((TurbineElement) e).sym(); in printMessage()82 int position = ((TurbineAnnotationMirror) a).anno().tree().position(); in printMessage()96 if (position == -1) { in printMessage()97 position = anno.tree().position(); in printMessage()103 * Returns the {@link SourceFile} that contains the declaration of the given {@link Symbol}, or104 * {@code null} if the symbol was not compiled from source.[all …]
8 * http://www.apache.org/licenses/LICENSE-2.036 import static com.sun.source.tree.Tree.Kind.EXPRESSION_STATEMENT;37 import static com.sun.source.tree.Tree.Kind.IDENTIFIER;38 import static com.sun.source.tree.Tree.Kind.MEMBER_SELECT;39 import static com.sun.source.tree.Tree.Kind.METHOD_INVOCATION;40 import static com.sun.source.tree.Tree.Kind.NEW_CLASS;41 import static com.sun.source.tree.Tree.Kind.NULL_LITERAL;42 import static com.sun.source.tree.Tree.Kind.RETURN;63 import com.sun.source.tree.ClassTree;64 import com.sun.source.tree.CompilationUnitTree;[all …]
4 LZ77 (Lempel-Ziv 1977, see reference below). It finds duplicated strings in13 Literals or match lengths are compressed with one Huffman tree, and14 match distances are compressed with another tree. The trees are stored19 somewhat similar to the behavior of LZW-based _compress_.)32 To avoid a worst-case situation, very long hash chains are arbitrarily83 For inflate, which has 286 possible codes for the literal/length tree, the size94 Ok, you want to know what this cleverly obfuscated inflate tree actually95 looks like. You are correct that it's not a Huffman tree. It is simply a96 lookup table for the first, let's say, nine bits of a Huffman symbol. The97 symbol could be as short as one bit or as long as 15 bits. If a particular[all …]