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
.tracecompass
.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
24 public class FieldsScope
extends LexicalScope
{
29 public static final LexicalScope FIELDS_RET
= new LexicalScope(FIELDS
, "_ret"); //$NON-NLS-1$
34 public static final LexicalScope FIELDS_TID
= new LexicalScope(FIELDS
, "_tid"); //$NON-NLS-1$
37 * The scope constructor
40 * The parent node, can be null, but shouldn't
42 * the name of the field
44 public FieldsScope(LexicalScope parent
, String name
) {
50 public LexicalScope
getChild(String name
) {
51 if (name
.equals(FIELDS_RET
.getName())) {
54 if (name
.equals(FIELDS_TID
.getName())) {
57 return super.getChild(name
);
This page took 0.031997 seconds and 5 git commands to generate.