Class FunctionDescriptor

java.lang.Object
org.yamcs.studio.autocomplete.parser.ContentDescriptor
org.yamcs.studio.autocomplete.parser.FunctionDescriptor

public class FunctionDescriptor extends ContentDescriptor
Descriptor used in IContentParser and IAutoCompleteProvider to describe a content matching a function.
  • Constructor Details

    • FunctionDescriptor

      public FunctionDescriptor()
  • Method Details

    • addArgument

      public void addArgument(Object arg)
    • getArgs

      public List<Object> getArgs()
    • getFunctionName

      public String getFunctionName()
    • setFunctionName

      public void setFunctionName(String functionName)
    • isComplete

      public boolean isComplete()
    • setComplete

      public void setComplete(boolean complete)
    • hasOpenBracket

      public boolean hasOpenBracket()
    • setOpenBracket

      public void setOpenBracket(boolean hasOpenBracket)
    • getCurrentArgIndex

      public int getCurrentArgIndex()
    • setCurrentArgIndex

      public void setCurrentArgIndex(int currentArgIndex)
    • toString

      public String toString()
      Overrides:
      toString in class ContentDescriptor