1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.ctf
.core
.event
.scope
;
15 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
16 import org
.eclipse
.jdt
.annotation
.Nullable
;
19 * A lttng specific speedup node field scope of a lexical scope
21 * @author Matthew Khouzam
25 public class FieldsScope
extends LexicalScope
{
30 public static final LexicalScope FIELDS_RET
= new LexicalScope(FIELDS
, "_ret"); //$NON-NLS-1$
35 public static final LexicalScope FIELDS_TID
= new LexicalScope(FIELDS
, "_tid"); //$NON-NLS-1$
38 * The scope constructor
41 * The parent node, can be null, but shouldn't
43 * the name of the field
45 public FieldsScope(LexicalScope parent
, String name
) {
51 public LexicalScope
getChild(String name
) {
52 if (name
.equals(FIELDS_RET
.getName())) {
55 if (name
.equals(FIELDS_TID
.getName())) {
58 return super.getChild(name
);
This page took 0.031308 seconds and 5 git commands to generate.