mirror of
https://github.com/valitydev/elixir-thrift.git
synced 2024-11-07 02:35:17 +00:00
Merge pull request #12 from scohen/make_1_2_compat
Made aliases 1.2 compliant
This commit is contained in:
commit
e48808c4e5
@ -138,8 +138,7 @@ end
|
|||||||
`Thrift.Parser` module.
|
`Thrift.Parser` module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
alias Thrift.Parser.Types
|
alias Thrift.Parser.{Literals, Types}
|
||||||
alias Thrift.Parser.Literals
|
|
||||||
|
|
||||||
defmodule Namespace do
|
defmodule Namespace do
|
||||||
@moduledoc """
|
@moduledoc """
|
||||||
@ -472,13 +471,14 @@ end
|
|||||||
typedefs: %{}
|
typedefs: %{}
|
||||||
|
|
||||||
import Thrift.Parser.Conversions
|
import Thrift.Parser.Conversions
|
||||||
alias Thrift.Parser.Models.Include
|
alias Thrift.Parser.Models.{Constant,
|
||||||
alias Thrift.Parser.Models.Namespace
|
Exception,
|
||||||
alias Thrift.Parser.Models.Constant
|
Include,
|
||||||
alias Thrift.Parser.Models.Exception
|
Namespace,
|
||||||
alias Thrift.Parser.Models.Struct
|
Struct,
|
||||||
alias Thrift.Parser.Models.TEnum
|
TEnum,
|
||||||
alias Thrift.Parser.Models.Union
|
Union
|
||||||
|
}
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Constructs a schema with both headers and definitions.
|
Constructs a schema with both headers and definitions.
|
||||||
|
Loading…
Reference in New Issue
Block a user