/* * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions.
*/
kindMap.put("CommandSet", new CommandSetNode());
kindMap.put("Command", new CommandNode());
kindMap.put("Out", new OutNode());
kindMap.put("Reply", new ReplyNode());
kindMap.put("ErrorSet", new ErrorSetNode());
kindMap.put("Error", new ErrorNode());
kindMap.put("Event", new EventNode());
kindMap.put("Repeat", new RepeatNode());
kindMap.put("Group", new GroupNode());
kindMap.put("Select", new SelectNode());
kindMap.put("Alt", new AltNode());
kindMap.put("ConstantSet", new ConstantSetNode());
kindMap.put("Constant", new ConstantNode());
kindMap.put("int", new IntTypeNode());
kindMap.put("long", new LongTypeNode());
kindMap.put("boolean", new BooleanTypeNode());
kindMap.put("object", new ObjectTypeNode());
kindMap.put("threadObject", new ThreadObjectTypeNode());
kindMap.put("threadGroupObject", new ThreadGroupObjectTypeNode());
kindMap.put("arrayObject", new ArrayObjectTypeNode());
kindMap.put("stringObject", new StringObjectTypeNode());
kindMap.put("classLoaderObject", new ClassLoaderObjectTypeNode());
kindMap.put("classObject", new ClassObjectTypeNode());
kindMap.put("referenceType", new ReferenceTypeNode());
kindMap.put("referenceTypeID", new ReferenceIDTypeNode());
kindMap.put("classType", new ClassTypeNode());
kindMap.put("interfaceType", new InterfaceTypeNode());
kindMap.put("arrayType", new ArrayTypeNode());
kindMap.put("method", new MethodTypeNode());
kindMap.put("field", new FieldTypeNode());
kindMap.put("frame", new FrameTypeNode());
kindMap.put("string", new StringTypeNode());
kindMap.put("moduleID", new ModuleTypeNode());
kindMap.put("value", new ValueTypeNode());
kindMap.put("byte", new ByteTypeNode());
kindMap.put("location", new LocationTypeNode());
kindMap.put("tagged-object", new TaggedObjectTypeNode());
kindMap.put("referenceTypeID", new ReferenceIDTypeNode());
kindMap.put("typed-sequence", new ArrayRegionTypeNode());
kindMap.put("untagged-value", new UntaggedValueTypeNode());
}
RootNode items() throws IOException {
List<Node> list = new ArrayList<Node>();
while (izer.nextToken() != StreamTokenizer.TT_EOF) {
izer.pushBack();
list.add(item());
}
RootNode node = new RootNode();
node.set("Root", list, 1); return node;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.