OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AstNode
(Results
1 - 19
of
19
) sorted by null
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
DoDidNodeVisitor.java
3
import com.google.javascript.rhino.head.ast.
AstNode
;
10
void doVisit(
AstNode
node);
17
void didVisit(
AstNode
node);
ValidationCheck.java
3
import com.google.javascript.rhino.head.ast.
AstNode
;
12
protected String getNodeText(
AstNode
node) {
DoDidVisitorAdapter.java
3
import com.google.javascript.rhino.head.ast.
AstNode
;
11
private final Deque<
AstNode
> nodeStack = new ArrayDeque<>();
14
public boolean visit(
AstNode
node) {
15
AstNode
topNode = nodeStack.peek();
ValidatorContext.java
3
import com.google.javascript.rhino.head.ast.
AstNode
;
34
public String getNodeText(
AstNode
node) {
42
public SourcePosition getPosition(
AstNode
node, int offsetInNodeText) {
60
public void reportErrorInNode(
AstNode
node, int offsetInNodeText, String errorMessage) {
FileCheckerCallable.java
5
import com.google.javascript.rhino.head.ast.
AstNode
;
82
public void doVisit(
AstNode
node) {
89
public void didVisit(
AstNode
node) {
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/
ContextTrackingChecker.java
3
import com.google.javascript.rhino.head.ast.
AstNode
;
14
abstract void enterNode(
AstNode
node);
16
abstract void leaveNode(
AstNode
node);
35
protected void reportErrorAtNodeStart(
AstNode
node, String errorText) {
AstUtil.java
5
import com.google.javascript.rhino.head.ast.
AstNode
;
15
static
AstNode
parentOfType(
AstNode
node, int tokenType) {
16
AstNode
parent = node.getParent();
20
static
AstNode
getFunctionNameNode(FunctionNode functionNode) {
21
AstNode
nameNode = functionNode.getFunctionName();
26
AstNode
parentNode = functionNode.getParent();
57
static
AstNode
getAssignedTypeNameNode(Assignment assignment) {
58
AstNode
typeNameNode = assignment.getLeft();
65
static Comment getJsDocNode(
AstNode
node)
[
all
...]
ReturnAnnotationChecker.java
4
import com.google.javascript.rhino.head.ast.
AstNode
;
19
public void enterNode(
AstNode
node) {
41
AstNode
nameNode = getFunctionNameNode(record.functionNode);
53
AstNode
nameNode = getFunctionNameNode(record.functionNode);
61
public void leaveNode(
AstNode
node) {
97
AstNode
functionNameNode = getFunctionNameNode(function.functionNode);
126
AstNode
nameNode = getFunctionNameNode(functionNode);
134
private static
AstNode
getFunctionNameNode(FunctionNode functionNode) {
135
AstNode
nameNode = functionNode.getFunctionName();
MethodAnnotationChecker.java
5
import com.google.javascript.rhino.head.ast.
AstNode
;
29
public void enterNode(
AstNode
node) {
59
private String[] getNonAnnotatedParamData(List<
AstNode
> params, Comment jsDocNode) {
64
for (
AstNode
paramNode : params) {
95
AstNode
nameNode = getFunctionNameNode(record.functionNode);
107
AstNode
nameNode = getFunctionNameNode(record.functionNode);
115
public void leaveNode(
AstNode
node) {
152
AstNode
functionNameNode = getFunctionNameNode(function.functionNode);
181
AstNode
nameNode = getFunctionNameNode(functionNode);
193
private static
AstNode
getFunctionNameNode(FunctionNode functionNode)
[
all
...]
FunctionReceiverChecker.java
4
import com.google.javascript.rhino.head.ast.
AstNode
;
36
void enterNode(
AstNode
node) {
57
List<
AstNode
> argumentNodes = functionCall.getArguments();
91
AstNode
nameNode = AstUtil.getFunctionNameNode(node);
109
private List<String> argumentsForCall(List<
AstNode
> argumentNodes) {
112
for (
AstNode
argumentNode : argumentNodes) {
119
String functionName, List<
AstNode
> argumentNodes, List<String> arguments) {
164
void leaveNode(
AstNode
node) {
192
AstNode
functionNameNode = AstUtil.getFunctionNameNode(function.functionNode);
197
AstNode
errorTargetNode
[
all
...]
ContextTrackingState.java
3
import com.google.javascript.rhino.head.ast.
AstNode
;
39
String getNodeText(
AstNode
node) {
ContextTrackingValidationCheck.java
5
import com.google.javascript.rhino.head.ast.
AstNode
;
38
public void doVisit(
AstNode
node) {
54
public void didVisit(
AstNode
node) {
74
private void enterNode(
AstNode
node) {
80
private void leaveNode(
AstNode
node) {
88
AstNode
nameNode = AstUtil.getFunctionNameNode(node);
161
AstNode
node = AstUtil.getAssignedTypeNameNode(assignment);
189
private static Comment getJsDocNode(
AstNode
node) {
ProtoFollowsExtendsChecker.java
5
import com.google.javascript.rhino.head.ast.
AstNode
;
27
protected void enterNode(
AstNode
node) {
77
List<
AstNode
> arguments = callNode.getArguments();
85
protected void leaveNode(
AstNode
node) {
208
AstNode
prototypeValueNode = assignment.getRight();
/external/chromium_org/v8/test/cctest/
test-ast.cc
39
List<
AstNode
*>* list = new List<
AstNode
*>(0);
45
AstNode
* node = factory.NewEmptyStatement(RelocInfo::kNoPosition);
/external/chromium_org/v8/src/
prettyprinter.h
23
const char* Print(
AstNode
* node);
30
static void PrintOut(Zone* zone,
AstNode
* node);
75
void PrintIndentedVisit(const char* s,
AstNode
* node);
ast.h
144
virtual
AstNode
::NodeType node_type() const V8_FINAL V8_OVERRIDE { \
145
return
AstNode
::k##type; \
180
class
AstNode
: public ZoneObject {
193
explicit
AstNode
(int position): position_(position) {}
194
virtual ~
AstNode
() {}
202
bool Is##type() const { return node_type() ==
AstNode
::k##type; } \
245
class Statement : public
AstNode
{
247
explicit Statement(Zone* zone, int position) :
AstNode
(position) {}
301
class Expression : public
AstNode
{
369
:
AstNode
(pos)
[
all
...]
prettyprinter.cc
449
const char* PrettyPrinter::Print(
AstNode
* node) {
473
void PrettyPrinter::PrintOut(Zone* zone,
AstNode
* node) {
687
void AstPrinter::PrintIndentedVisit(const char* s,
AstNode
* node) {
ast.cc
1020
compare_id_(
AstNode
::GetNextId(zone)),
1021
entry_id_(
AstNode
::GetNextId(zone)) {
[
all
...]
parser.cc
343
Target(Target** variable,
AstNode
* node)
353
AstNode
* node() { return node_; }
357
AstNode
* node_;
[
all
...]
Completed in 541 milliseconds