Package icyllis.arc3d.compiler.tree

# Class TopLevelElement

java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.TopLevelElement

Direct Known Subclasses:
  `FunctionDefinition`, `FunctionPrototype`, `GlobalVariableDecl`, `InterfaceBlock`, `StructDefinition`

public abstract class TopLevelElement extends Node
Represents a top-level element (e.g. function or global variable) in a program.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node

  `Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind`

- ## Field Summary

  ### Fields inherited from class icyllis.arc3d.compiler.tree.Node

  `mPosition`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `TopLevelElement(int position)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Node.ElementKind`
  `getKind()`

  ### Methods inherited from class icyllis.arc3d.compiler.tree.Node

  `accept, getEndOffset, getStartOffset, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TopLevelElement

    protected TopLevelElement(int position)

- ## Method Details

  - ### getKind

    public abstract Node.ElementKind getKind()
    See Also:
      - `Node.ElementKind`