Class SwiftParser.LiteralContext

  • All Implemented Interfaces:
    org.antlr.v4.runtime.tree.ParseTree, org.antlr.v4.runtime.tree.RuleNode, org.antlr.v4.runtime.tree.SyntaxTree, org.antlr.v4.runtime.tree.Tree
    Enclosing class:
    SwiftParser

    public static class SwiftParser.LiteralContext
    extends org.antlr.v4.runtime.ParserRuleContext
    • Field Summary

      • Fields inherited from class org.antlr.v4.runtime.ParserRuleContext

        children, exception, start, stop
      • Fields inherited from class org.antlr.v4.runtime.RuleContext

        EMPTY, invokingState, parent
    • Constructor Summary

      Constructors 
      Constructor Description
      LiteralContext​(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)  
    • Constructor Detail

      • LiteralContext

        public LiteralContext​(org.antlr.v4.runtime.ParserRuleContext parent,
                              int invokingState)
    • Method Detail

      • MultiStringLiteral

        public org.antlr.v4.runtime.tree.TerminalNode MultiStringLiteral()
      • SingleStringLiteral

        public org.antlr.v4.runtime.tree.TerminalNode SingleStringLiteral()
      • BooleanLiteral

        public org.antlr.v4.runtime.tree.TerminalNode BooleanLiteral()
      • NilLiteral

        public org.antlr.v4.runtime.tree.TerminalNode NilLiteral()
      • RawMultiStringLiteral

        public org.antlr.v4.runtime.tree.TerminalNode RawMultiStringLiteral()
      • RawSingleStringLiteral

        public org.antlr.v4.runtime.tree.TerminalNode RawSingleStringLiteral()
      • getRuleIndex

        public int getRuleIndex()
        Overrides:
        getRuleIndex in class org.antlr.v4.runtime.RuleContext
      • enterRule

        public void enterRule​(org.antlr.v4.runtime.tree.ParseTreeListener listener)
        Overrides:
        enterRule in class org.antlr.v4.runtime.ParserRuleContext
      • exitRule

        public void exitRule​(org.antlr.v4.runtime.tree.ParseTreeListener listener)
        Overrides:
        exitRule in class org.antlr.v4.runtime.ParserRuleContext